-
Notifications
You must be signed in to change notification settings - Fork 85
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
option to store the webhook url as a password. #267
Comments
not sure about your intention - password to what ? |
When you need to store so passwords webhooks ... you can use jenkins credentials as well. And then use withCredential function to store it in jenkins variable. This should work also for this plugin |
I am looking to pass secret text "webHookURL" inside the options block to set url value inside office365ConnectorWebhooks as shown below pipeline {
Tried using withCredentials block but got error that withCredentials cannot be used inside options block. Any idea how to set secret text value in this case |
Hey, I have the same problem. I need to configure multiple webhook urls and want them to be configured centrally. Using the global jenkins section is capable for one webhook only. So my idea was to read the webhook url from a credential during the pipeline setup in the The
But this fails with Next idea was to use an
Do you have any idea, or ist it possible to define multiple webhooks in the global jenkins ui? |
The problem is that jenkins or the credentials binding plugin do not allow using a credentials block in the
You can use
You can try to map it on the post conditions: Ideally you'd be able to use |
What feature do you want to see added?
In the current configuration the webhook url(s) can be globally as plain text.
When configuring the job the name of the webhook url can be filled in.
After saving the url is exposed in the job.
It would be great to have the webhook URL stored as a password and not exposed to all Jenkins users.
Upstream changes
No response
The text was updated successfully, but these errors were encountered: