I . get this error
Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/salt-test/workspace
ERROR: {
"_links":
{"jobs": []}
,
"return": [{}]
}
ERROR:
{"Error": "java.io.IOException: Server returned HTTP response code: 401 for URL: http://172.16.42.10:8000/jobs/\n\tat sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)\n\tat sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)\n\tat com.waytta.Utils.getJSON(Utils.java:69)\n\tat com.waytta.Builds.runBlockingBuild(Builds.java:97)\n\tat com.waytta.SaltAPIBuilder.performRequest(SaltAPIBuilder.java:253)\n\tat com.waytta.SaltAPIBuilder.perform(SaltAPIBuilder.java:201)\n\tat com.waytta.SaltAPIBuilder.perform(SaltAPIBuilder.java:161)\n\tat hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)\n\tat hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)\n\tat hudson.model.Build$BuildExecution.build(Build.java:206)\n\tat hudson.model.Build$BuildExecution.doRun(Build.java:163)\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)\n\tat hudson.model.Run.execute(Run.java:1728)\n\tat hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)\n\tat hudson.model.ResourceController.execute(ResourceController.java:98)\n\tat hudson.model.Executor.run(Executor.java:405)\n"}
Response on test.ping for '*':
[{}]
Build step 'Send a message to Salt API' changed build result to FAILURE
Finished: FAILURE