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

Executor xml api shows incorrect url for promoting build job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • promoted-builds-plugin
    • None
    • Win32, but I do not believe it is platform specific.

      When querien the hudson xml api for executioner status on http://hudson.host.com/hudson/computer/<slave_host>/executors/1/api/xml we get the following:
      <executor>
      <currentExecutable>
      <number>10</number>
      <url>http://hudson.host.com/hudson/job/<job-name>/promotion//<promo-name>/<#promo-no>/</url>
      </currentExecutable>
      <idle>false</idle>
      <likelyStuck>false</likelyStuck>
      <number>1</number>
      <progress>99</progress>
      </executor>
      Notice the:
      -double slash
      -missing build #
      -missing promotionBuilds
      The correct url i believe should be:
      http://hudson.host.com/hudson/job/<job-name>/<#build-number>/promotion/<promo-name>/promotionBuilds/<#promo-no>/

            Unassigned Unassigned
            jonasbovin jonasbovin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: