first step to packaging in jenkins

This commit is contained in:
Emmanuel Cazenave 2018-04-24 17:50:26 +02:00
parent a42bd122ba
commit e08090ca97
1 changed files with 10 additions and 3 deletions

13
Jenkinsfile vendored
View File

@ -3,9 +3,16 @@ pipeline {
stages{
stage('unit test'){
steps{
sh """
tox -r
"""
sh 'tox -r'
}
}
stage('packaging'){
steps{
script {
if (env.BRANCH_NAME == 'master') {
sh 'echo "AAAA"'
}
}
}
}
}