Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2018-03-22 13:27:49 +0000
committerSravan Kumar Lakkimsetti2018-03-22 13:27:49 +0000
commit633141fcd26cf73ca1643a6fbe177887e5c63b82 (patch)
tree7b4b9ee2b151778e9a63ed5cef66af7c5f3069c8
parent93bfb989db490f5d9d5ac6934b765ec0ef6b0db1 (diff)
downloadeclipse.platform.releng.aggregator-633141fcd26cf73ca1643a6fbe177887e5c63b82.tar.gz
eclipse.platform.releng.aggregator-633141fcd26cf73ca1643a6fbe177887e5c63b82.tar.xz
eclipse.platform.releng.aggregator-633141fcd26cf73ca1643a6fbe177887e5c63b82.zip
Bug 532745 - Invocation of jenkins job using curl failed
Change-Id: I6cce6eed1cf1be3d51505e5e9757752eff2adb99 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r--production/testScripts/invokeTestsJSON.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/production/testScripts/invokeTestsJSON.xml b/production/testScripts/invokeTestsJSON.xml
index 05eb3168c..f84d839b8 100644
--- a/production/testScripts/invokeTestsJSON.xml
+++ b/production/testScripts/invokeTestsJSON.xml
@@ -149,7 +149,7 @@
<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"
@@ -157,7 +157,7 @@
outputproperty="unitOutput"
errorproperty="unitErrorOutput">
<arg line="-X GET" />
- <arg value="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_ROOT_URI}/job/${job}/build?token=${env.HUDSON_TOKEN}" />
+ <arg value="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_ROOT_URI}/job/${job}/buildWithParameters?token=${env.HUDSON_TOKEN}" />
<arg value="--fail" />
<arg value="--data-urlencode" />
<arg value="json=${json}" />
@@ -225,7 +225,7 @@
<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"
@@ -233,7 +233,7 @@
outputproperty="unitOutput"
errorproperty="unitErrorOutput">
<arg line="-X GET" />
- <arg value="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_WIN32_ROOT_URI}/job/${job}/build?token=${env.HUDSON_TOKEN}" />
+ <arg value="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}:${env.HUDSON_PORT}/${env.HUDSON_WIN32_ROOT_URI}/job/${job}/buildWithParameters?token=${env.HUDSON_TOKEN}" />
<arg value="--fail" />
<arg value="--data-urlencode" />
<arg value="json=${json}" />

Back to the top