在" Delivery Pipeline Plugin"中寻找与手动触发相当的等价物。

时间:2016-06-01 23:43:52

标签: jenkins-plugins jenkins-pipeline

有没有办法使用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"" 
  }

0 个答案:

没有答案