Maven - Error Releasing Code to GitHub (Hangs After Push)

前端 未结 8 1312
悲哀的现实
悲哀的现实 2020-12-02 15:11

I\'m attempting to run the mvn release:prepare goal and it\'s hanging after the push. Any idea what I could be doing wrong?

[INFO] [INFO] -----         


        
8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 15:27

    The only thing which worked for me was specifying GIT user name and password as maven parameters:

    mvn -Dusername=jenkins -Dpassword=******** release:prepare release:perform
    

    To hide password in Jenkins output console I installed and configured Mask Passwords Plugin.

提交回复
热议问题