-
New Feature
-
Resolution: Fixed
-
Minor
-
None
i'm getting the following exception using the 2.1.1 version of the maven plugin and the 1.2.1 of the jenkins plugin and i'm getting the following error:
Caused by: java.lang.IllegalStateException: No from revision set (start revision of the reversion)! at com.google.common.base.Preconditions.checkState(Preconditions.java:174) at com.itemis.maven.plugins.unleash.scm.requests.RevertCommitsRequest$Builder.build(RevertCommitsRequest.java:187) at com.itemis.maven.plugins.unleash.steps.actions.SetNextDevVersion.rollback(SetNextDevVersion.java:129) ... 42 more
i'm about to start looking into adding the 'release as a post build step' functionality i mentioned in JENKINS-37401 and will look at this as well, but in case you have any ideas right away...
ok - it looks like this is an issue w/ the way jenkins checks out projects w/ a detached HEAD. i am setting the "check out to a specific local branch" option, but that does not seem to have an effect.
i'll file a bug in against the maven plugin for this as i can reproduce this locally using the same steps jenkins uses to check out the project.