parametrized build plugin jenkins is not working

时间:2016-08-31 18:22:01

标签: jenkins jenkins-plugins

I have a problem with parametrized build plugin in jenkins.

I have configured 2 jobs.

job A and job B

Job A will send the parameters to Job B

But the problem is the values are never being sent from job A to job B

Job A configuration Job A config

Job B configuration Job B config

[ I am using jenkins version 2.7.2 ]

Please help me with the above problem

1 个答案:

答案 0 :(得分:0)

我相信你必须在作业B中将COPYJOB声明为构建参数。只有当它从作业A传递时才会被选为环境变量,然后你就可以在你的目标中像$ COPYJOB那样引用它了