“Git fatal: ref HEAD is not a symbolic ref” while using maven release plugin

后端 未结 10 666
后悔当初
后悔当初 2020-12-23 02:58

I get the following error output while running the Maven release plugin prepare step i.e. mvn release:prepare --batch-mode -DreleaseVersion=1.1.2 -DdevelopmentVersion=

10条回答
  •  轮回少年
    2020-12-23 03:14

    For Jenkins and GIT add the additional behaviour check out to specific local branch and use the Workspace Cleanup Plugin to clean your workspace to the beginning of your CI job.

提交回复
热议问题