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

Deploy artifacts for failed builds, too

XMLWordPrintable

      I took the description below from the plugin Wiki because I have a similar problem. I need to archive all unit test logs for our QA after running a unit test project even if some tests fail without cluttering my Jenkins with hundreds of build logs.

      Original problem from the Wiki:

      My Jenkins job has the following build steps:

      1. Execute Windows batch command (a set of simple commands terminated by an 'exit X' statement, where X can be zero for successful builds and non-zero for failed builds)

      2. Deploy artifacts from workspace to remote directories

      If the exit statement at the end of my batch commands is non-zero then the artifacts are NOT deployed. I would like to be able to deploy artifacts following a failed build because although the build failed there will be build log files indicating the reason for failure as well as partial artifacts.

            gbois Gregory Boissinot
            bruce Dirk Kuypers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: