add stage after build
This commit is contained in:
parent
8930b00ead
commit
4e34b78dcd
|
@ -267,6 +267,17 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('after_build'){
|
||||||
|
agent{label 'master'}
|
||||||
|
when {
|
||||||
|
changeRequest()
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh'''
|
||||||
|
df -h
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
|
|
Loading…
Reference in New Issue