# Setting extra vars from tower-cli

**URL:** <https://forum.ansible.com/t/setting-extra-vars-from-tower-cli/15379>\
**Category:** Ansible Project\
**Created:** [May 30, 2014, 4:00pm UTC](https://forum.ansible.com/t/setting-extra-vars-from-tower-cli/15379 "2014-05-30T16:00:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fraser\_Hardy](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@Fraser\_Hardy](https://forum.ansible.com/u/Fraser_Hardy)\
**Post date:** [May 30, 2014, 4:00pm UTC](https://forum.ansible.com/t/setting-extra-vars-from-tower-cli/15379/1 "2014-05-30T16:00:08Z")

</div>

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\*\*\*\*\*\*\*@q_**[1-db------p.net](http://1-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

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [May 31, 2014, 4:12pm UTC](https://forum.ansible.com/t/setting-extra-vars-from-tower-cli/15379/2 "2014-05-31T16:12:11Z")

</div>

Hi Fraser,

For ansible tower questions, we ask questions be directed to [support@ansible.com](mailto:support@ansible.com)

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

Thank you!
