Hello, I you have multiple consecutive rundeck notifiers in a jenkins pipeline and one of them fails, all the rest fail with this message:
Error while talking to Rundeck's API at http://rundeck:4440 : null
example from the output and very easy to reproduce:
Rundeck execution #120588 finished in 1 second, with status : succeeded
Rundeck execution #120587 finished in 1 second, with status : succeeded
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] }
Rundeck execution #120589 finished in 0 seconds, with status : failed
Error while talking to Rundeck's API at http://rundeck:4440 : null
How to reproduce:
create 2 rundeck jobs, create a jenkins pipelien which just runs the 2 rundeck jobs and intentionally make the first rundeck job fail, the next give the error. Even with a try-catch it's the same.
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]