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

Promotion build Plugin does not work with jobs which are nested in Jenkins folder FOLDER

      We have Jobs which are under nested folder in Jenkins, and the build runs successfully and the build artifacts are published to Artifactory and when we try to run the 'Artifactory Release Promotion", we get error:

      Promoting build ....
      Performing dry run promotion (no changes are made during dry run) ...
      ERROR: Promotion failed during dry run (no change in Artifactory was done): HTTP/1.1 404 Not Found
      {
      "errors" : [

      { "status" : 404, "message" : "Cannot find builds by the name 'Athena :: athena-waf-alerter-tag-build' and the number '6'." }

      ]
      }
      Completed

      After looking into this issue found out that Artifactory Build info does not have the correct build URL .

      The URL shows:
      https://JENKINS.vrsn.com/jenkins/job/Athena/job/waf-alerter-tag-build/6/

      Which should have been
      https://JENKINS.vrsn.com/jenkins/view/Athena/job/Athena/job/athena-waf-alerter-tag-build/

      We have workaround the issue but wondering if there is a quick way to fix this.

          [JENKINS-36881] Promotion build Plugin does not work with jobs which are nested in Jenkins folder FOLDER

          Oleg Nenashev added a comment -

          I'm not sure it's related to Promoted Builds plugin. Maybe artifactory plugin?
          Please provide your job configuration

          Oleg Nenashev added a comment - I'm not sure it's related to Promoted Builds plugin. Maybe artifactory plugin? Please provide your job configuration

          SUNIJ khatri added a comment -

          Job config.xml is attached

          SUNIJ khatri added a comment - Job config.xml is attached

          Oleg Nenashev added a comment -

          Which Jenkins core and plugin versions do you use?

          Oleg Nenashev added a comment - Which Jenkins core and plugin versions do you use?

          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.

          sunijkhatri oleg_nenashev

          Can you please list the workaround steps as I see the issue is still unresolved.

          Any update on when this issue can get fixed ?

          Thanks

          Kunal

          Kunal Doddanavar added a comment - sunijkhatri oleg_nenashev Can you please list the workaround steps as I see the issue is still unresolved. Any update on when this issue can get fixed ? Thanks Kunal

          Samuel Lopez added a comment -

          Hello

          We are seeing the same issue.

          Could you  please share the workaround steps?

          Thank you kindly.

          Sam

          Samuel Lopez added a comment - Hello We are seeing the same issue. Could you  please share the workaround steps? Thank you kindly. Sam

            Unassigned Unassigned
            sunijkhatri SUNIJ khatri
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: