• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • promoted-builds-plugin
    • None
    • Jenkins 2.46.1
      Copy Artifact Plugin 1.38.1
      promoted builds plugin 2.28.1

      I specified permalink with promotion name to copy artifact from. It seems that the copy artifact plugin always copies artifacts from the latest promotion even if it failed, but what I want is to get artifacts from latest successful promotion, and I couldn't figure out how to do this. The possible solution can be to add ability to specify permalinks like "promotion_name/lastSuccessfulBuild", "promotion_name/lastStableBuild" etc.

      Anyway it is unclear why the plugin always uses latest promotion, probably this default behavior should be changed.

          [JENKINS-43469] Artifact is copied from failed promotion

          ikedam added a comment -

          It's related to copyartifact, but not an issue of copyartifact.
          Removed copyartifact from component/s.

          ikedam added a comment - It's related to copyartifact, but not an issue of copyartifact. Removed copyartifact from component/s.

          Oleg Nenashev added a comment -

          I am also not sure why it happens in such way. Needs so testing

          Oleg Nenashev added a comment - I am also not sure why it happens in such way. Needs so testing

          Paul Muller added a comment -

          I am seeing the same behavior, the "Latest Promotion:" link leads to the "latest promoted (executed)" job, even if said promotion failed.

          Furthermore it seems that the promotion is considered "successful" while the promotion is still running, which can lead to wrong behavior especially if the promotion takes a while (uploading artifacts, copying large files on file servers, starting downstream deployment steps etc.). 

          I too would like to see a "Latest successful Promotion:" link.

          I think that would solve this, as long as a still running promotion is not considered "successful". 

          Paul Muller added a comment - I am seeing the same behavior, the "Latest Promotion:" link leads to the "latest promoted (executed)" job, even if said promotion failed. Furthermore it seems that the promotion is considered "successful" while the promotion is still running, which can lead to wrong behavior especially if the promotion takes a while (uploading artifacts, copying large files on file servers, starting downstream deployment steps etc.).  I too would like to see a "Latest successful Promotion:" link. I think that would solve this, as long as a still running promotion is not considered "successful". 

          Oleg Nenashev added a comment -

          Sorry, over last months I had no time to work on the plugin, because I had to focus on the Jenkins core and other projects. I also have not been using this plugin on my own since 2016. So I have decided to unassign the issues so that there is no expectation that I work on them anytime soon.

          Currently the plugin is being transfered to another maintainer. Hopefully he will have some time to finish triaging of the issues and maybe to deliver some fixes. But, as in any community-driven project, everybody is welcome to propose pull requests and to contribute to the plugin's state.

          Oleg Nenashev added a comment - Sorry, over last months I had no time to work on the plugin, because I had to focus on the Jenkins core and other projects. I also have not been using this plugin on my own since 2016. So I have decided to unassign the issues so that there is no expectation that I work on them anytime soon. Currently the plugin is being transfered to another maintainer. Hopefully he will have some time to finish triaging of the issues and maybe to deliver some fixes. But, as in any community-driven project, everybody is welcome to propose pull requests and to contribute to the plugin's state.

          Are there any chances that someone will start working on this?

          Dmitry Mikhirev added a comment - Are there any chances that someone will start working on this?

            Unassigned Unassigned
            bizdelnick Dmitry Mikhirev
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: