“You don't have a SNAPSHOT project in the reactor projects list.” when using Jenkins Maven release plugin

后端 未结 4 1935
自闭症患者
自闭症患者 2020-12-13 11:35

I\'m using SVN, Maven 3.0.3 on the latest version of Jenkins and the Maven Release plugin. I\'m trying to use the Maven release plugin (through Jenkins) do a dry run and so

4条回答
  •  清歌不尽
    2020-12-13 12:28

    Jenkins workspace is not cleanup or you have FINAL version inside pom.xml. Jenkins has check-out strategy for cleaning up workspace.

    More: Maven release plugin - SNAPSHOT project needed

    Check-out Strategy options:

    • Emulate clean checkout by first deleting unversioned files/ignored files, as well as files/directories ignored by svn:ignore, then execute svn update.
    • Always check out fresh copy
    • Use svn update as much possible, with svn revert before update

提交回复
热议问题