Skip to content

Commit

Permalink
remove pre-commit run from Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
beniwohli committed Oct 4, 2022
1 parent 90390a6 commit 877fcf9
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,35 +67,6 @@ pipeline {
}
}
}
stage('Sanity checks') {
when {
beforeAgent true
allOf {
expression { return env.ONLY_DOCS == "false" }
anyOf {
not { changeRequest() }
expression { return params.Run_As_Main_Branch }
}
}
}
environment {
PATH = "${env.WORKSPACE}/.local/bin:${env.WORKSPACE}/bin:${env.PATH}"
}
steps {
withGithubNotify(context: 'Sanity checks', tab: 'tests') {
deleteDir()
unstash 'source'
script {
docker.image('python:3.7-stretch').inside(){
dir("${BASE_DIR}"){
// registry: '' will help to disable the docker login
preCommit(commit: "${GIT_BASE_COMMIT}", junit: true, registry: '')
}
}
}
}
}
}
/**
Execute unit tests.
*/
Expand Down

0 comments on commit 877fcf9

Please sign in to comment.