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

Copying of file back to master sometimes fails but subsequent build steps still happen

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • copy-to-slave-plugin
    • None
    • Linux

      My builds use this plugin to copy a parameter file from a slave back to the master Jenkins node, and then a subsequent build step sends that file to another job as a list of parameters (parameterized trigger).

      There seems to be a race condition that I hit occasionally, where the downstream job is triggered with empty parameters. When I look on the master node, however, the parameter file is there/has been copied back successfully. If the same build is run again, it works. I suspect that somehow the copy is not happening/finishing before the downstream job is triggered.

          [JENKINS-16818] Copying of file back to master sometimes fails but subsequent build steps still happen

          Owen Mehegan added a comment -

          Assigning to Romain since he seems to be the current maintainer, maybe. Any thoughts?

          Owen Mehegan added a comment - Assigning to Romain since he seems to be the current maintainer, maybe. Any thoughts?

          Owen Mehegan added a comment -

          It seems like the file copy step runs but none of the subsequent post-build steps wait for it to complete before they fire.

          Owen Mehegan added a comment - It seems like the file copy step runs but none of the subsequent post-build steps wait for it to complete before they fire.

          Owen Mehegan added a comment -

          Supposedly fixed in version 1.4.3 of the plugin. Reopen if not.

          Owen Mehegan added a comment - Supposedly fixed in version 1.4.3 of the plugin. Reopen if not.

            rseguy Romain Seguy
            owenmehegan Owen Mehegan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: