[JIRA] (JENKINS-40667) Support of Rundeck usage in Pipeline script
Title: Message Title senthilkumar Murugesan edited a comment on JENKINS-40667 Re: Support of Rundeck usage in Pipeline script Hi, I've tried with this pipeline command and getting the error like below. Pipeline Script:-step([$class: "RundeckNotifier", includeRundeckLogs: true, jobId: "***", nodeFilters: "", options: """ """, rundeckInstance: "rundeck", shouldFailTheBuild: true, shouldWaitForRundeckJob: true, tags: "", tailLog: true]) Error:- [Pipeline] { ([hide|http://amod1lc9a016.app.c9.equifax.com:8080/mortgage/view/all/job/Mortgage-Pipeline/41/console#])[Pipeline] stepRundeck configuration is not valid ![Pipeline] } [Pipeline] // node[Pipeline] End of PipelineERROR: Rundeck configuration is not valid !Finished: FAILURE I've already installed the Rundeck plugin & validated the credentials, the same working in free style project. Not sure, what i'm missing here? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40667) Support of Rundeck usage in Pipeline script
Title: Message Title senthilkumar Murugesan commented on JENKINS-40667 Re: Support of Rundeck usage in Pipeline script Hi, I've tried with this pipeline command and getting the error like below. Pipeline Script:- step([$class: "RundeckNotifier", includeRundeckLogs: true, jobId: "***", nodeFilters: "", options: """ """, rundeckInstance: "rundeck", shouldFailTheBuild: true, shouldWaitForRundeckJob: true, tags: "", tailLog: true]) Error:- [Pipeline] { ([hide|http://amod1lc9a016.app.c9.equifax.com:8080/mortgage/view/all/job/Mortgage-Pipeline/41/console#])[Pipeline] stepRundeck configuration is not valid ![Pipeline] } [Pipeline] // node[Pipeline] End of PipelineERROR: Rundeck configuration is not valid ! Finished: FAILURE I've already installed the Rundeck plugin & validated the credentials, the same working in free style project. Not sure, what i'm missing here? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40667) Support of Rundeck usage in Pipeline script
Title: Message Title Andy Airey commented on JENKINS-40667 Re: Support of Rundeck usage in Pipeline script This ticket should actually be in-progress as there remain to be no docs for it? But it actually works (pipeline support for the rundeck plugin). BTW I don't have such issues on my environment regarding the tags field. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40667) Support of Rundeck usage in Pipeline script
Title: Message Title Cédric SARRE commented on JENKINS-40667 Re: Support of Rundeck usage in Pipeline script John Mohan Hello, I met the same issue on yesterday, and I loggued an issue (https://issues.jenkins-ci.org/browse/JENKINS-54537). Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40667) Support of Rundeck usage in Pipeline script
Title: Message Title John Mohan commented on JENKINS-40667 Re: Support of Rundeck usage in Pipeline script Hi - I get the below exception while using the above declarative pipeline snippet from Brian with Rundeck plugin 3.5.4 and 3.6.4 installed on Jenkins 2.138.2; Caused by: java.lang.IllegalArgumentException: Could not instantiate {includeRundeckLogs=true, jobId=2a1b41c7-3fbb-xx-xx, nodeFilters=, options=, rundeckInstance=my_rundeck, shouldFailTheBuild=true, shouldWaitForRundeckJob=true, tags=[], tailLog=true} for RundeckNotifier(rundeckInstance: String, jobId: String, options: String, nodeFilters: String, tags: String, shouldWaitForRundeckJob: boolean, shouldFailTheBuild: boolean, includeRundeckLogs: boolean, tailLog: boolean, jobUser: String, jobPassword: String, jobToken: String): java.lang.ClassCastException: org.jenkinsci.plugins.rundeck.RundeckNotifier.tags expects class java.lang.String but received class java.util.ArrayList Any idea how to resolve? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40667) Support of Rundeck usage in Pipeline script
Title: Message Title Martin Ra commented on JENKINS-40667 Re: Support of Rundeck usage in Pipeline script Awesome, thanks! Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40667) Support of Rundeck usage in Pipeline script
Title: Message Title Ramanathan M created an issue Jenkins / JENKINS-40667 Support of Rundeck usage in Pipeline script Issue Type: Improvement Assignee: Unassigned Components: rundeck-plugin Created: 2016/Dec/26 3:23 AM Environment: Jenkins v2.3x, Rundeck Plugin v3.5.4 Labels: rundeck, pipeline Priority: Minor Reporter: Ramanathan M Am looking for help on how to use Rundeck within pipeline script (Jenkinsfile). For quite sometime now, I have been searching the Net but could not find useful leads. Any pointers would be much appreciated. NOTE: 1) As a workaround, I installed Rundeck CLI tool in the Jenkins master and have written short shell scripts which are then embedded within the main Jenkinsfile. Add Comment