-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins version - 1.523
Master OS - Ubuntu 12.04
Slave OS - Windows 7
Copy To Slave Plugin - 1.4
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.
- is related to
-
JENKINS-16818 Copying of file back to master sometimes fails but subsequent build steps still happen
-
- Resolved
-
[JENKINS-18899] Child job finishes with "SUCCESS" status even before copy-to-plugin finishes copying files from slave to master
Description |
Original:
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 the use this plugin to get back the files 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. |
New:
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. |
Assignee | Original: Daniel Petisme [ danielpetisme ] | New: Vivekanand SV [ svvivek ] |
Link |
New:
This issue is related to |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 150346 ] | New: JNJira + In-Review [ 193480 ] |
This commit [ https://github.com/svvivek/copy-to-slave-plugin/commit/9156293cbdc48c241075e1297a2998214fdf75c6 ] will fix that by giving an option to enable or disable this behavior, so that people who want to retain the behavior can do so. Help/Property files related to french language needs to be updated.