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

Archiving artifacts are a prerequisite for testing

    Details

    • Similar Issues:

      Description

      Use case: Build should be marked as unstable if a downstream test job fails.

      In order to achieve this, the Parameterized Trigger plugin must be used to launch the test job during the build phase. The test job requires the artifacts to be present.

      Unfortunately, If the trigger is placed in the post-build step, it cannot alter the state of the build. Further, if used in a multi-configuration project, the trigger is executed in the scope of the parent job, rather than the child, so the particular axis information, workspace, and other child job specific bits of information are not available.

      My current workaround is to use the "Any build step plugin" to archive the build artifacts during the build phase, however, I think that it would be common usage to want to mark a build as unstable if a test fails.

        Attachments

          Activity

            People

            • Assignee:
              huybrechts huybrechts
              Reporter:
              evildeece Alastair D'Silva
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: