Setting extra vars from tower-cli

Hi,

I am trying to set our jenkins server to trigger a deployment to our QA environment after a successful build. I have tower-cli installed but cant seem to pass the build number for tower to use. We have the build number defined in the extra_vars on our tower server as a yaml format as follows:

app_db_url: “mysql://********:q*******@q1-db------p.net
app_mode: prod
jenkins_app_buildnumber: 67
jenkins_app_job_name: qudini-deployable-qa
jenkins_securesocial_buildnumber: 4
jenkins_securesocial_job_name: securesocial-deployable
newrelic_app_name: QudiniAppQA

All of the configuration can stay the same but I want to pass the current build number to set jenkins_app_buildnumber.

How would i go about this?

Thanks
Fraser

Hi Fraser,

For ansible tower questions, we ask questions be directed to support@ansible.com

This list is for the core project, though we’d be happy to help you there.

Thank you!