Skip to content

Instantly share code, notes, and snippets.

@ahonor
Created December 29, 2011 22:11
Show Gist options
  • Select an option

  • Save ahonor/1536434 to your computer and use it in GitHub Desktop.

Select an option

Save ahonor/1536434 to your computer and use it in GitHub Desktop.
vsaas_cookbook_promote.xml
<joblist>
<job>
<id>f711604c-877f-4a30-8693-dd4f22f074b7</id>
<loglevel>VERBOSE</loglevel>
<sequence keepgoing='false' strategy='node-first'>
<command>
<scriptargs />
<script><![CDATA[export jenkins_url=http://build.cmf.vmware.com:8080/jenkins/$workSpace/$jobName/var/chef
export cb=chef-solo-svn${svnRev}-j${buildNum}.tgz
cd /var/tmp/rundeck/cmf/cookbooks
/usr/bin/wget -p $jenkins_url/$cb
cp $cb /var/www/cmf/cookbooks/cookbooks.tgz]]></script>
</command>
</sequence>
<description>Promote VSaaS cookbooks to rundeck server</description>
<name>vsaas_cookbook_promote</name>
<context>
<project>zbig</project>
<options>
<option name='buildNum'>
<description>the build number</description>
</option>
<option name='svnRev'>
<description>the svn revision</description>
</option>
<option name='version'>
<description>the version</description>
</option>
<option name='workSpace'>
<description>the workspace</description>
</option>
</options>
</context>
<uuid>f711604c-877f-4a30-8693-dd4f22f074b7</uuid>
</job>
</joblist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment