-
Type: Bug
-
Status: Open
-
Priority: Critical
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Tags:
-
Backlog priority:500
-
Sprint:DevTools-05, DevTools-06, DevTools-07
See https://jira.nuxeo.com/browse/NXBT-2350?focusedCommentId=346060&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-346060, the build success (not failure) is on purpose.
But an "instable (yellow)" status could be fine.
Try
http_response=$(curl -sni -o output.txt -w '%{http_code}' ...
—
See https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-nuxeo-master-build/940/consoleText (attached console.txt)
Excerpt:
$> curl -i -n -F package=@target/marketplace-cas2-authentication-1.6.1-I20180627_0606.zip https://nos-test-connect.nos.nuxeo.com/nuxeo/site/marketplace/upload?batch=true % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 39897 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 HTTP/1.1 100 Continue HTTP/1.1 503 Service Unavailable: Back-end server is at capacity Content-Length: 0 Connection: keep-alive