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

Artifact is copied from failed promotion

XMLWordPrintable

    • 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.

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

              Created:
              Updated: