first step to packaging in jenkins
This commit is contained in:
parent
a42bd122ba
commit
e08090ca97
|
@ -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"'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue