Hi,
I am new to groovy script and I used the following script to trigger jenkins job
import com.atlassian.jira.issue.Issue
def launch= ["wget", "--auth-no-challenge", "--user=username", "--password=password", "https://jenkins.com/vz/job/VZW.MYV.JIRA.test/build?token=jira&delay=0sec&JiraIssue=${issue.key}"].execute().text;
println launch
this will trigger when the issue has been closed. Without passing JiraIssue parameter am able to call jenkins job once adding the parameter it is not triggering the jenkins job, but I need to pass issue key and the status of issue to Jenkins job.
Any suggestions for this problem
I want to know the syntax what I am using in custom post function is correct and how to pass issue status and assignee in the Jenkins url like passing issue key
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This should be a question that you should ask in the Jenkins forums right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.