-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: urltrigger-plugin
-
None
-
Environment:jenkins 2.504.1
We are trying to use  https://plugins.jenkins.io/urltrigger/ together with artifactory. The credntial for artifcatory must not be known to the person configuring the job in github. Currently we need add the entry like,Â
Â
URLTrigger(
cronTabSpec: '* * * * *',
entries: [
URLTriggerEntry(
url: 'http://www.mysite.com/jsoncontent',
username: 'myuser',
password: 'mypassword',
checkETag: false,
checkStatus: true,
statusCode: 403,
checkLastModificationDate: true,
timeout: 200,
requestHeaders: [
RequestHeader( headerName: "Accept" , headerValue: "application/json" )
],
contentTypes: [
JsonContent(
[
JsonContentEntry( jsonPath: 'level1.level2.level3' )
])
]
),
Â
Â
 which can leak such information. please add support to use credentials plugin in urltrigger.