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

Ansible Tower Project Sync does not override Credentials in freestyle Job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ansible-tower-plugin
    • None
    • Tower 3.5.1
      Ansible Tower Plugin 0.16.0
      Jenkins 2.235.1

      Hi John,

      first of all thanks for providing this plugin. I found the following bug:

      Freestyle Job

      • Ansible Tower Project Sync
      • Tower Credentials Override -> I added credentials

      Result:

      Started by user xxx
      Running as SYSTEM
      Building in workspace /var/jenkins_home/workspace/xyz
      ERROR: Unable to lookup project: Unable to find project xyz: Auth is required for this call but no auth info exists
      Build step 'Ansible Tower Project Sync' changed build result to FAILURE
      Build step 'Ansible Tower Project Sync' marked build as failure
      Finished: FAILURE
      

      It works fine if i leave it blank and if i add proper credentials at global settings. But of course one shouldn't do that.

            johnwestcottiv John Westcott
            sebastian_oss Sebastian Oss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: