Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible way to get the triggered job URL #322

Open
kush-work opened this issue Aug 19, 2024 · 1 comment
Open

Possible way to get the triggered job URL #322

kush-work opened this issue Aug 19, 2024 · 1 comment

Comments

@kush-work
Copy link

Explain your issue

Is there a way to get the triggered jenkins job URL in the response after we use generic-webhook-trigger? As of now in the response we get jobName; resolvedVariables and url which is something like queue/item/xxx.

@cdtzabra
Copy link

cdtzabra commented Sep 10, 2024

@kush-work a workaround is to call the queue API with the queue ID: http://JENKINS_URL/queue/item/xxx/api/json
the output contains JOB_ID, JOB_URL, etc ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants