• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • copyartifact-plugin
    • None
    • OS: Windows 7
      Jenkins ver. 1.462
      Copy Artifact Plugin 1.22

      2 Projects "A" and "B", "A" is parent, "B" is child. "A" trigger "B".

      "A" run very fast, but "B" is very slow, so one build of "B" is triggered by more than one build from "A".

      The problem is, when 'B' copy artifacts from 'A', it copy artifacts from the first trigger build number, but what I want is the last trigger build number artifacts.

      Attached the console output for example project.

          [JENKINS-14636] Create Artifacts From an Wrong Build

          rocky wang added a comment -

          After wait for 2 days, still no body answer this ticket

          I make a quick fix to get the latest triggered build number. Please somebody have a review. and fix this problem as soon as possible

          rocky wang added a comment - After wait for 2 days, still no body answer this ticket I make a quick fix to get the latest triggered build number. Please somebody have a review. and fix this problem as soon as possible

          rocky wang added a comment -

          previous script have a little problem, attach the new one

          rocky wang added a comment - previous script have a little problem, attach the new one

          Thierry Joyal added a comment -

          Exactly what's hapenning on my side.

          Might be good to mention that it seems to be related to the "Block build when upstream project is building" option.

          I'll be more than happy to learn how to hotfix plugins but it's really critical for us right now. It's a blocker for us from the point of view of fiability.

          For now i'll disable the "Block build when upstream project is building" option.

          Please provide an update. Thanks you.

          Started by upstream project "RELEASE_GAME_RESOURCES" build number 66
          originally caused by:
          Started by upstream project "RELEASE_GAME_SERVER" build number 84
          originally caused by:
          Started by upstream project "RELEASE_CIGAR_SERVER" build number 55
          originally caused by:
          Started by an SCM change
          Started by upstream project "RELEASE_GAME_RESOURCES" build number 67
          originally caused by:
          Started by an SCM change
          Building in workspace /var/lib/jenkins/jobs/RELEASE_TRIGGER/workspace
          [workspace] $ /bin/sh -xe /tmp/hudson1226334131104158345.sh
          Copied 356 artifacts from "BUILD_TOOLS" build number 132
          Copied 5 artifacts from "RELEASE_GAME_RESOURCES" build number 66
          Copied 963 artifacts from "RELEASE_GAME_SERVER" build number 84
          Copied 7 artifacts from "RELEASE_CLIENT" build number 61

          Thierry Joyal added a comment - Exactly what's hapenning on my side. Might be good to mention that it seems to be related to the "Block build when upstream project is building" option. I'll be more than happy to learn how to hotfix plugins but it's really critical for us right now. It's a blocker for us from the point of view of fiability. For now i'll disable the "Block build when upstream project is building" option. Please provide an update. Thanks you. Started by upstream project "RELEASE_GAME_RESOURCES" build number 66 originally caused by: Started by upstream project "RELEASE_GAME_SERVER" build number 84 originally caused by: Started by upstream project "RELEASE_CIGAR_SERVER" build number 55 originally caused by: Started by an SCM change Started by upstream project "RELEASE_GAME_RESOURCES" build number 67 originally caused by: Started by an SCM change Building in workspace /var/lib/jenkins/jobs/RELEASE_TRIGGER/workspace [workspace] $ /bin/sh -xe /tmp/hudson1226334131104158345.sh Copied 356 artifacts from "BUILD_TOOLS" build number 132 Copied 5 artifacts from "RELEASE_GAME_RESOURCES" build number 66 Copied 963 artifacts from "RELEASE_GAME_SERVER" build number 84 Copied 7 artifacts from "RELEASE_CLIENT" build number 61

          ikedam added a comment -

          Duplicates JENKINS-11655 (and it is in progress now).

          ikedam added a comment - Duplicates JENKINS-11655 (and it is in progress now).

            mindless Alan Harder
            gxrocky rocky wang
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: