update Jenkinsfile
This commit is contained in:
parent
7a04c7182e
commit
3c56a0ce51
1 changed files with 7 additions and 4 deletions
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -23,6 +23,9 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('dummy mode') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
sh """
|
||||
. venv/bin/activate
|
||||
|
@ -51,10 +54,10 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('cleanup') {
|
||||
steps {
|
||||
sh 'rm -rf venv'
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
sh 'rm -rf venv'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue