我想这样做,但在詹金斯DSL:Jenkins下游(构建后行动)工作的DSL是什么?
如果发现某处这一点,但它不工作:
job('ps-first') {
steps { shell('echo "landing"') }
postBuildSteps { ...run other job here... }
configure {
it <<
'runPostStepsIfResult' { name('SUCCESS') }
}
}