[JIRA] (JENKINS-49915) ansible-tower-plugin not passing extra variables

1 view
Skip to first unread message

m.taratuta@hotmail.com (JIRA)

unread,
Mar 5, 2018, 5:28:02 AM3/5/18
to jenkinsc...@googlegroups.com
m t created an issue
 
Jenkins / Bug JENKINS-49915
ansible-tower-plugin not passing extra variables
Issue Type: Bug Bug
Assignee: John Westcott
Components: ansible-tower-plugin
Created: 2018-03-05 10:27
Environment: Jenkins ver. 2.109
Ansible Tower Plugin 0.8.0

Ansible Tower 3.2.1
Ansible 2.5.0rc1
Priority: Major Major
Reporter: m t

The extra variables from Jenkins job are not being passed to Ansible Tower. Tried both Yaml and Json format for extra variables without success.

Please see the screen shots attached.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

m.taratuta@hotmail.com (JIRA)

unread,
Mar 5, 2018, 5:31:02 AM3/5/18
to jenkinsc...@googlegroups.com
m t updated an issue
Change By: m t
Attachment: jenkins-tower-plugin-json.PNG
Attachment: jenkins-tower-plugin-tower-job.PNG

john.westcott.iv@redhat.com (JIRA)

unread,
Mar 5, 2018, 7:15:02 AM3/5/18
to jenkinsc...@googlegroups.com
John Westcott commented on Bug JENKINS-49915
 
Re: ansible-tower-plugin not passing extra variables

Can you send the output from the Jenkins job run?

Also, can you confirm that you have the extra vars "prompt on launch" box is checked in Ansible Tower?

john.westcott.iv@redhat.com (JIRA)

unread,
Mar 5, 2018, 7:15:03 AM3/5/18
to jenkinsc...@googlegroups.com
John Westcott assigned an issue to m t
 
Change By: John Westcott
Assignee: John Westcott m t

m.taratuta@hotmail.com (JIRA)

unread,
Mar 5, 2018, 8:44:02 AM3/5/18
to jenkinsc...@googlegroups.com
m t commented on Bug JENKINS-49915
 
Re: ansible-tower-plugin not passing extra variables

John Westcott thanks for quick reply. Seems that this was a user error. I was not aware that the extra vars "prompt on launch" box needs to checked in Ansible Tower in order to pass the vars via API.

It may be a good idea to add that information into the "help ()" field in the plugin's job box.

m.taratuta@hotmail.com (JIRA)

unread,
Mar 5, 2018, 8:45:02 AM3/5/18
to jenkinsc...@googlegroups.com
m t updated an issue
Change By: m t
Priority: Major Trivial

m.taratuta@hotmail.com (JIRA)

unread,
Mar 5, 2018, 8:45:02 AM3/5/18
to jenkinsc...@googlegroups.com
m t updated an issue
Change By: m t
Comment: [~johnwestcottiv] thanks for quick reply. Seems that this was a user error. I was not aware that the extra vars "prompt on launch" box needs to checked in Ansible Tower in order to pass the vars via API.

It may be a good idea to add that information into the "help ((?))" field in the plugin's job box.

m.taratuta@hotmail.com (JIRA)

unread,
Mar 5, 2018, 8:46:02 AM3/5/18
to jenkinsc...@googlegroups.com
m t resolved as Not A Defect
 

John Westcott thanks for quick reply. Seems that this was a user error. I was not aware that the extra vars "prompt on launch" box needs to checked in Ansible Tower in order to pass the vars via API.

It may be a good idea to add that information into the "help ( )" field in the plugin's job box.

Change By: m t
Status: Open Resolved
Resolution: Not A Defect

john.westcott.iv@redhat.com (JIRA)

unread,
Mar 5, 2018, 8:53:01 AM3/5/18
to jenkinsc...@googlegroups.com
John Westcott commented on Bug JENKINS-49915
 
Re: ansible-tower-plugin not passing extra variables

Thanks for the follow up. I'll add a task for indicating that in the help entries. In addition, there should be a message in the jenkins job logs like:

[WARNING]: Extra variables defined but prompt for variables on launch is not set in tower job

john.westcott.iv@redhat.com (JIRA)

unread,
Mar 24, 2018, 6:23:03 PM3/24/18
to jenkinsc...@googlegroups.com

Can you test the 0.8.2 to validate that the notes now indicate that prompt on launch is required for the settings to take affect?

john.westcott.iv@redhat.com (JIRA)

unread,
Jan 8, 2020, 9:57:03 AM1/8/20
to jenkinsc...@googlegroups.com
John Westcott closed an issue as Not A Defect
 
Change By: John Westcott
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages