Job SCM changes are not valid after running plugin (our case 11771)

XMLWordPrintable

      The SCM Changes list is invalidated after the pretest plugin has merged a ready-branch to master. This makes the list for the job and the jira notification contain invalid commit hash links.

      I guess this is bacause of the squash commit that is used, making the commit on master different than the on that triggered jenkins, in tandem with the deletion of the branch causing stash to not find the commit in the repository. This makes the information presented misleading for users.

      I would probably propose to either "change" the changes links provided by the git scm plugin to the new, squashed commit, keeping the old list in a separate pane if possible.

      See attached images for how it looks in our jenkins/jira/stash setup.

        1. jenkins_jira_post.PNG
          13 kB
          Morten Engelhardt Olsen
        2. jenkins_job_trigger.PNG
          20 kB
          Morten Engelhardt Olsen
        3. jira_post_stash.PNG
          11 kB
          Morten Engelhardt Olsen

            Assignee:
            Praqma Support
            Reporter:
            Morten Engelhardt Olsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: