[
https://issues.jenkins-ci.org/browse/JENKINS-12522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161049#comment-161049
]
SCM/JIRA link daemon commented on JENKINS-12522:
------------------------------------------------
Code changed in jenkins
User: Gregory Boissinot
Path:
src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerPublisher.java
src/main/resources/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerPublisher/config.jelly
http://jenkins-ci.org/commit/artifactdeployer-plugin/f6308fac57a39d2e82a86380d9666c2d3dbe6f4e
Log:
Fix JENKINS-12522
> Deploy artifacts for failed builds, too
> ---------------------------------------
>
> Key: JENKINS-12522
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12522
> Project: Jenkins
> Issue Type: Improvement
> Components: artifactdeployer
> Affects Versions: current
> Reporter: Dirk Kuypers
> Assignee: gbois
> Labels: deployment
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira