From 1f1e520ec84f51846a8d99c0d25ca8ca7091c459 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 26 Jun 2013 12:10:04 -0700 Subject: [PATCH 1/2] fix cURL parameters for branch deploy job --- jenkins/jobs.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/jobs.groovy b/jenkins/jobs.groovy index 45f2b19477..dfe930a548 100644 --- a/jenkins/jobs.groovy +++ b/jenkins/jobs.groovy @@ -62,7 +62,7 @@ def hifiJob(String targetName, Boolean deploy) { } EscalateStatus true RunIfJobSuccessful true - script "curl -d 'action=deploy&role=highfidelity-live&revision=${targetName}' https://${ARTIFACT_DESTINATION}" + script "curl -d action=deploy role=highfidelity-live revision=${targetName} https://${ARTIFACT_DESTINATION}" } } } From 8a7897d326a8ee277884a467b1c19df2bdd6193b Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 26 Jun 2013 12:12:04 -0700 Subject: [PATCH 2/2] use deploy-dev, add missing d options --- jenkins/jobs.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/jobs.groovy b/jenkins/jobs.groovy index dfe930a548..3a1a2ee990 100644 --- a/jenkins/jobs.groovy +++ b/jenkins/jobs.groovy @@ -62,7 +62,7 @@ def hifiJob(String targetName, Boolean deploy) { } EscalateStatus true RunIfJobSuccessful true - script "curl -d action=deploy role=highfidelity-live revision=${targetName} https://${ARTIFACT_DESTINATION}" + script "curl -d action=deploy-dev -d role=highfidelity-live -d revision=${targetName} https://${ARTIFACT_DESTINATION}" } } }