Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37903

IllegalStateException thrown during release

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • unleash-plugin
    • 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...

            shillner Stanley Hillner
            jgangemi Jae Gangemi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: