add stage after build

This commit is contained in:
liuyq-617 2021-03-17 14:24:55 +08:00
parent 8930b00ead
commit 4e34b78dcd
2 changed files with 12 additions and 1 deletions

11
Jenkinsfile vendored
View File

@ -267,6 +267,17 @@ pipeline {
} }
} }
} }
stage('after_build'){
agent{label 'master'}
when {
changeRequest()
}
steps {
sh'''
df -h
'''
}
}
} }
post { post {
success { success {