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

XMLWordPrintable

      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.

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

              Created:
              Updated: