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

Workflow Templates with project sync or inventory update have incorrect links

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It appears that calling a workflow template with a project sync or an inventory sync as the first step causes a failure. It appears that this is due to the plugin attempting to call the wrong URL for these types of workflow steps.

      NOTE: The incorrect paths show below occur regardless of where the steps occur in the workflow. It just seems that the failure occurs when the erroneous job path doesn't already exist.

      For example, for a project sync step, the plugin calls:

      https://tower.home/#/jobs/324

      instead of:

      https://tower.home/#/scm_update/324

      Similarly, with an inventory sync step, the plugin attempts to call

      https://tower.home/#/jobs/333

      Instead of:

      https://tower.home/#/inventory_sync/333

       

       

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: John Westcott IV
          Path:
          src/main/java/org/jenkinsci/plugins/ansible_tower/util/TowerConnector.java
          http://jenkins-ci.org/commit/ansible-tower-plugin/885e792ca71d185e911764b6ca92cf120d978a60
          Log:
          Changes for JENKINS-48438 and JENKINS-48377.
          Added method to get job template and options for logging different types of events in a workflow. Tower running now will let you know if you set a variable that is not set as prompt on launch in Tower.

          Compare: https://github.com/jenkinsci/ansible-tower-plugin/compare/db71a93388c5...885e792ca71d

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: John Westcott IV Path: src/main/java/org/jenkinsci/plugins/ansible_tower/util/TowerConnector.java http://jenkins-ci.org/commit/ansible-tower-plugin/885e792ca71d185e911764b6ca92cf120d978a60 Log: Changes for JENKINS-48438 and JENKINS-48377 . Added method to get job template and options for logging different types of events in a workflow. Tower running now will let you know if you set a variable that is not set as prompt on launch in Tower. Compare: https://github.com/jenkinsci/ansible-tower-plugin/compare/db71a93388c5...885e792ca71d
          Hide
          johnwestcottiv John Westcott added a comment -

          Please try the latest version and let me know if it works for you.

          Show
          johnwestcottiv John Westcott added a comment - Please try the latest version and let me know if it works for you.
          Hide
          rnester Rob Nester added a comment -

          Has this new version been published? Checking in Jenkins, I don't see an available update.

          Show
          rnester Rob Nester added a comment - Has this new version been published? Checking in Jenkins, I don't see an available update.
          Hide
          johnwestcottiv John Westcott added a comment -

          Hey Rob, I'm not sure why but it took quite a while to get the update to go into the Jenkins Update Center. Can you check for the new 0.5.4 version and, if its there, give it a test?

          Show
          johnwestcottiv John Westcott added a comment - Hey Rob, I'm not sure why but it took quite a while to get the update to go into the Jenkins Update Center. Can you check for the new 0.5.4 version and, if its there, give it a test?

            People

            Assignee:
            robnester Rob Nester
            Reporter:
            rnester Rob Nester
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: