Deployment fail isn't indicated by CI
Bugs
Description
If the deployment API isn't intact, the CI doesn't complain.
I expected the following to happen
If the deployment fails, the CI job should fail.
On the contrary, I observed
$ curl --get --silent https://ahikar-dev.sub.uni-goettingen.de/api/deploy
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 405 HTTP method GET is not supported by this URL</title>
</head>
<body><h2>HTTP ERROR 405 HTTP method GET is not supported by this URL</h2>
<table>
<tr><th>URI:</th><td>/exist/restxq/deploy</td></tr>
<tr><th>STATUS:</th><td>405</td></tr>
<tr><th>MESSAGE:</th><td>HTTP method GET is not supported by this URL</td></tr>
<tr><th>SERVLET:</th><td>RestXqServlet</td></tr>
</table>
<hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.26.v20200117</a><hr/>
</body>
</html>
succeeds.
How to reproduce the bug
Steps:
- run a pipeline on develop and have a look at the deploy stage.
Severity
How much impact does this bug have on the product or further development?
-
Minor -
Major -
Critical -
Blocker
Program and – if applicable – dependency version
Since 2.3.0.