diff --git a/Jenkinsfile.linters b/Jenkinsfile.linters index 77ccec34501..130a05cc27f 100644 --- a/Jenkinsfile.linters +++ b/Jenkinsfile.linters @@ -31,6 +31,13 @@ pipeline { PATCHSET_TAG = "$DOCKER_REGISTRY_FQDN/jenkins/canvas-lms:$NAME" } stages { + // this is here because someone forgot to add the post cleanup in this build. + // remove this after it runs for a little bit. + stage('temp-cleanup') { + steps { + sh 'build/new-jenkins/docker-cleanup.sh' + } + } stage('ESLint - JSX') { steps { sh 'build/new-jenkins/frontend/linter-eslint.sh' @@ -47,4 +54,10 @@ pipeline { } } } + + post { + cleanup { + sh 'build/new-jenkins/docker-cleanup.sh' + } + } }