Executor xml api shows incorrect url for promoting build job

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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>/

            Assignee:
            Unassigned
            Reporter:
            jonasbovin
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: