Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Jenkins version - 1.523
Master OS - Ubuntu 12.04
Slave OS - Windows 7
Copy To Slave Plugin - 1.4
Description
Scenario:
I have jenkins installed (debian package) as master in Ubuntu, have 2 slaves for 32/64 bit Windows 7. I run some test cases in the slave windows OS' and use this plugin to get back the test case results to master.
This is a multi configuration job and after child jobs (1 child job each for 2 slaves) are finished I publish combined HTML reports in the parent job.
Now the problem that I face here is, the child job finishes with "SUCCESS" without waiting for the copy-to-plugin post build action to finish. So the HTML Publisher in the parent job fails as the files are not yet copied to the master.
Note 1 : - Though the child job finishes, the copy-to-slave plugin continues to work and files are successfully copied to the master.
Note 2 : - The child job finishes before the post build action only for copy-to-plugin, it waits till the post build actions are finished for other plugins.
Attachments
Issue Links
- is related to
-
JENKINS-16818 Copying of file back to master sometimes fails but subsequent build steps still happen
-
- Resolved
-
Code changed in jenkins
User: Vivekanand S V
Path:
src/main/java/com/michelin/cio/hudson/plugins/copytoslave/CopyToMasterNotifier.java
src/main/resources/com/michelin/cio/hudson/plugins/copytoslave/CopyToMasterNotifier/config.jelly
src/main/resources/com/michelin/cio/hudson/plugins/copytoslave/CopyToMasterNotifier/config.properties
src/main/resources/com/michelin/cio/hudson/plugins/copytoslave/CopyToMasterNotifier/help-runAfterResultFinalised.html
src/main/resources/com/michelin/cio/hudson/plugins/copytoslave/CopyToMasterNotifier/help-runInBackground.html
http://jenkins-ci.org/commit/copy-to-slave-plugin/c9f4087afb91aaf7c6d3dfd637cf33ceb95bfeb5
Log:
[FIXED JENKINS-18899]