Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2018-03-22 13:05:23 +0000
committerSravan Kumar Lakkimsetti2018-03-22 14:34:44 +0000
commit8f359c32c27a12595c7b20264ef635d3c4829f57 (patch)
tree20a0495bdcbc4a5bf9f3486b04dd1dfdbde8ae82 /production
parent848dba2880ab702fe507042539143d504299ed92 (diff)
downloadeclipse.platform.releng.aggregator-8f359c32c27a12595c7b20264ef635d3c4829f57.tar.gz
eclipse.platform.releng.aggregator-8f359c32c27a12595c7b20264ef635d3c4829f57.tar.xz
eclipse.platform.releng.aggregator-8f359c32c27a12595c7b20264ef635d3c4829f57.zip
Bug 532745 - Invocation of jenkins job using curl failed
Change-Id: I6f1b253e878f3cadec623ed4ed171f993a0ed624 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com> Bug 532745 - Invocation of jenkins job using curl failed Change-Id: I6cce6eed1cf1be3d51505e5e9757752eff2adb99 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com> Bug 532745 - Invocation of jenkins job using curl failed Change-Id: Iad85daf15c6eade2391d2856b11e485a614b202c Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'production')
-rw-r--r--production/testScripts/invokeTestsJSON.xml18
1 files changed, 6 insertions, 12 deletions
diff --git a/production/testScripts/invokeTestsJSON.xml b/production/testScripts/invokeTestsJSON.xml
index 7cbb3a923..07f1391ad 100644
--- a/production/testScripts/invokeTestsJSON.xml
+++ b/production/testScripts/invokeTestsJSON.xml
@@ -155,19 +155,16 @@
<echo message="env.HUDSON_ROOT_URI: ${env.HUDSON_ROOT_URI}" />
<echo message="json for unit curl post: ${json}" />
<echo message="job: ${job}" />
- <echo message="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_ROOT_URI}/job/${job}/build" />
+ <echo message="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_ROOT_URI}/job/${job}/buildWithParameters" />
<exec
executable="curl"
resultproperty="rcUnit"
outputproperty="unitOutput"
errorproperty="unitErrorOutput">
- <arg line="-X POST" />
- <arg value="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_ROOT_URI}/job/${job}/build" />
- <arg line="-d token=${env.HUDSON_TOKEN}" />
+ <arg line="-X GET" />
+ <arg value="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_ROOT_URI}/job/${job}/buildWithParameters?token=${env.HUDSON_TOKEN}&amp;buildId=${buildId}&amp;eclipseStream=${eclipseStream}&amp;EBUILDER_HASH=${EBUILDER_HASH}" />
<arg value="--fail" />
- <arg value="--data-urlencode" />
- <arg value="json=${json}" />
</exec>
<echo message="DEBUG: rcUnit: ${rcUnit}" />
<condition property="invocationNotOk">
@@ -232,19 +229,16 @@
<echo message="env.HUDSON_WIN32_ROOT_URI: ${env.HUDSON_WIN32_ROOT_URI}" />
<echo message="json for unit curl post: ${json}" />
<echo message="job: ${job}" />
- <echo message="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_WIN32_ROOT_URI}/job/${job}/build" />
+ <echo message="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_WIN32_ROOT_URI}/job/${job}/buildWithParameters" />
<exec
executable="curl"
resultproperty="rcUnit"
outputproperty="unitOutput"
errorproperty="unitErrorOutput">
- <arg line="-X POST" />
- <arg value="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_WIN32_ROOT_URI}/job/${job}/build" />
- <arg line="-d token=${env.HUDSON_TOKEN}" />
+ <arg line="-X GET" />
+ <arg value="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_WIN32_ROOT_URI}/job/${job}/buildWithParameters?token=${env.HUDSON_TOKEN}&amp;buildId=${buildId}&amp;eclipseStream=${eclipseStream}&amp;EBUILDER_HASH=${EBUILDER_HASH}" />
<arg value="--fail" />
- <arg value="--data-urlencode" />
- <arg value="json=${json}" />
</exec>
<echo message="DEBUG: rcUnit: ${rcUnit}" />
<condition property="invocationNotOk">

Back to the top