Running Groovy command from Jenkins using Groovy script plugin

后端 未结 3 537
隐瞒了意图╮
隐瞒了意图╮ 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:00

    I think if you run the System Groovy Script, Jenkins objects are available by default. What you are running is the groovy script. Hence, need to import the packages/classes.

提交回复
热议问题