Commit 892d7426 by Feanil Patel

Escape dollar signs.

parent a2c387f9
......@@ -155,43 +155,43 @@
<hudson.tasks.Shell>
<command>#!/bin/bash -x
if [[(&quot;$play&quot; == &quot;&quot;)]]; then
if [[(&quot;\$play&quot; == &quot;&quot;)]]; then
echo &quot;No Play Specified. Nothing to Do.&quot;
exit 0
fi
if [ ! -d $WORKSPACE/virtualenv ]; then
virtualenv --system-site-packages $WORKSPACE/virtualenv
if [ ! -d \$WORKSPACE/virtualenv ]; then
virtualenv --system-site-packages \$WORKSPACE/virtualenv
fi
export PYTHONUNBUFFERED=1
export PIP_DOWNLOAD_CACHE=$WORKSPACE/pip-cache
export PIP_DOWNLOAD_CACHE=\$WORKSPACE/pip-cache
. $WORKSPACE/virtualenv/bin/activate
. \$WORKSPACE/virtualenv/bin/activate
cd configuration
pip install -r requirements.txt
cd util/vpc-tools/
echo &quot;$refs&quot; &gt; /var/tmp/$BUILD_ID-refs.yml
cat /var/tmp/$BUILD_ID-refs.yml
echo &quot;\$refs&quot; &gt; /var/tmp/\$BUILD_ID-refs.yml
cat /var/tmp/\$BUILD_ID-refs.yml
echo &quot;\$vars&quot; &gt; /var/tmp/$BUILD_ID-extra-vars.yml
cat /var/tmp/$BUILD_ID-extra-vars.yml
echo &quot;\$vars&quot; &gt; /var/tmp/\$BUILD_ID-extra-vars.yml
cat /var/tmp/\$BUILD_ID-extra-vars.yml
python -u abbey.py -p $play -t c1.medium -d $deployment -e $environment -i {{jenkins_home}}/.ssh/id_rsa -b $base_ami --vars /var/tmp/$BUILD_ID-extra-vars.yml --refs /var/tmp/$BUILD_ID-refs.yml -j $release_id --mongo-uri $mongo_uri --mongo-deployment-collection $deployment --mongo-db devops --configuration-version $configuration --configuration-secure-version $configuration_secure -k {{JENKINS_ADMIN_EC2_KEY}} --configuration-secure-repo &quot;{{JENKINS_ADMIN_CONFIGURATION_SECURE_REPO}}&quot;</command>
python -u abbey.py -p \$play -t c1.medium -d \$deployment -e \$environment -i {{jenkins_home}}/.ssh/id_rsa -b \$base_ami --vars /var/tmp/\$BUILD_ID-extra-vars.yml --refs /var/tmp/\$BUILD_ID-refs.yml -j \$release_id --mongo-uri \$mongo_uri --mongo-deployment-collection \$deployment --mongo-db devops --configuration-version \$configuration --configuration-secure-version \$configuration_secure -k {{JENKINS_ADMIN_EC2_KEY}} --configuration-secure-repo &quot;{{JENKINS_ADMIN_CONFIGURATION_SECURE_REPO}}&quot;</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>#!/bin/bash -x
if [[(&quot;$play&quot; == &quot;&quot;)]]; then
if [[(&quot;\$play&quot; == &quot;&quot;)]]; then
echo &quot;No Play Specified. Nothing to Do.&quot;
exit 0
fi
rm /var/tmp/$BUILD_ID-extra-vars.yml
rm /var/tmp/$BUILD_ID-refs.yml</command>
rm /var/tmp/\$BUILD_ID-extra-vars.yml
rm /var/tmp/\$BUILD_ID-refs.yml</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment