Jenkins Git plugin detached HEAD

后端 未结 9 2057
没有蜡笔的小新
没有蜡笔的小新 2020-12-02 09:55

I am new to Git and also to Jenkins. My problem is that I can\'t get the Jenkins Maven release plugin to work.

When I build a common Maven build with Jenkins, it wor

9条回答
  •  既然无缘
    2020-12-02 10:21

    The Checkout/merge to local branch (optional) field is gone in the current (2.2.1) version of the Git plugin.

    It has moved to Additional BehavioursCheck out to specific local branch:

    Jenkins screenshot of setting option

    Setting that value to master got me a checked out branch instead of a detached head.

提交回复
热议问题