有没有办法使用Pipeline在https://wiki.jenkins-ci.org/display/JENKINS/Delivery+Pipeline+Plugin中实现构建后的手动触发器? 使用"输入"遗憾的是,在这种情况下是不合适的。
像
这样的东西stage "Testing stuff"
node("slave") {
git credentialsId: "blahblahblah", url: "git@github.com:blah/blah.git"
sh """testing something"""
}
stage "Building stuff"
node("slave") {
git credentialsId: "blahblahblah", url: "git@github.com:blah/blah.git"
sh """building stuff"""
}
input message: "Deploy?"
stage "Deploying stuff"
node("slave") {
sh """Deploy stuss""
}