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

Child job finishes with "SUCCESS" status even before copy-to-plugin finishes copying files from slave to master

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • copy-to-slave-plugin
    • 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.

            svvivek Vivekanand SV
            svvivek Vivekanand SV
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: