aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/ete/scripts/post-jenkins-results.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ete/scripts/post-jenkins-results.sh b/test/ete/scripts/post-jenkins-results.sh
new file mode 100755
index 000000000..7beba0e3a
--- /dev/null
+++ b/test/ete/scripts/post-jenkins-results.sh
@@ -0,0 +1,6 @@
+#!/bin/bash -x
+
+CRUMB=$(curl -s -u "lf:lf" 'http://12.234.32.117/jenkins/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)')
+
+curl -v -u "lf:929b8c2bea4c4c6847778f8cd6241cbf" -H "$CRUMB" -d '<run><log encoding="hexBinary">4142430A</log><result>0</result><duration>17</duration></run>' http://12.234.32.117/jenkins/job/external-job/postBuildResult
+