Git environment variables for use in executing Jenkins shell scripts

前端 未结 3 1943
春和景丽
春和景丽 2020-12-16 15:33

Hope someone can help - I have the following plugin installed in my Jenkins instance - but I don\'t seem to be able to get hold of the Git variables below. I need these to c

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-16 16:16

    Please also have a look at: How can I access the last built revision according to jenkins?

    The part with the env-vars url was really helpful:

    Lastly, to see a less comprehensive list of available environment variables, you can also just go to this url: http://[your-jenkins-domain-and-port]/env-vars.html

提交回复
热议问题