Running Groovy command from Jenkins using Groovy script plugin

后端 未结 3 540
隐瞒了意图╮
隐瞒了意图╮ 2020-12-10 03:43

I want to force following scenario in Jenkins:

  1. I have job A and job B
  2. I want to disable job A when job B is executed, and after execution of job B, I
3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-10 04:06

    For future readers, Tim's comment above is the solution:

    import jenkins.model.Jenkins

提交回复
热议问题