clean up images in linters

Test-Plan:
hair on fire fix it!

Change-Id: I2b73660d3f117cae5deec566c460a137eda87a92
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/216050
Reviewed-by: Robert Lamb <rlamb@instructure.com>
Tested-by: Jenkins
QA-Review: Rex Fleischer <rfleischer@instructure.com>
Product-Review: Rex Fleischer <rfleischer@instructure.com>
This commit is contained in:
Rex Fleischer 2019-11-05 14:34:06 -08:00
parent ea8157447e
commit e6a84bdf79
1 changed files with 13 additions and 0 deletions

View File

@ -31,6 +31,13 @@ pipeline {
PATCHSET_TAG = "$DOCKER_REGISTRY_FQDN/jenkins/canvas-lms:$NAME" PATCHSET_TAG = "$DOCKER_REGISTRY_FQDN/jenkins/canvas-lms:$NAME"
} }
stages { 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') { stage('ESLint - JSX') {
steps { steps {
sh 'build/new-jenkins/frontend/linter-eslint.sh' sh 'build/new-jenkins/frontend/linter-eslint.sh'
@ -47,4 +54,10 @@ pipeline {
} }
} }
} }
post {
cleanup {
sh 'build/new-jenkins/docker-cleanup.sh'
}
}
} }