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

Conditional step in post step of Maven Project run despite of result of build step

    Details

    • Similar Issues:

      Description

      Not expected behavior when run Maven project job in Jenkins and set Conditional step(single) to execute shell when build status SUCCESS.
      When Maven build step fail( for example because of failing to parse POMs) conditional step *will be executed and it *not should be.
      Seems like Conditional step can not retrieve Maven build status.
      After adding System Groovy Script to Maven post step, Job build status is null and in Post-Build Action is FAIL when one of Maven build steps failing and is SUCCESS when all Maven steps are successful

        Attachments

          Issue Links

            Activity

            Hide
            imod Dominik Bartholdi added a comment -

            I'm sorry to say, but this can't be fixed - please see details at JENKINS-19802

            Show
            imod Dominik Bartholdi added a comment - I'm sorry to say, but this can't be fixed - please see details at JENKINS-19802

              People

              • Assignee:
                domi Dominik Bartholdi
                Reporter:
                stasamdocs Stanislav Roshkulets
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: