What environment variables are passed to Jenkins when using the Gerrit Trigger Plugin?

后端 未结 6 965
刺人心
刺人心 2020-12-14 11:46

I\'m using the Gerrit Trigger Plugin to kick off Jenkins builds, but haven\'t found a good place where all of the environment variables are documented. Does such documentat

6条回答
  •  -上瘾入骨i
    2020-12-14 12:15

    Really important information, for anyone who bashed their head against the monitor like I did. There was a security update for Jenkins in May 2016 which doesn't allow arbitrary parameters unless they're defined in the job configuration:

    https://wiki.jenkins-ci.org/display/JENKINS/Plugins+affected+by+fix+for+SECURITY-170

    The parameters defined by Alan Thompson are correct, but you also need to define those parameters in the job configuration.

提交回复
热议问题