Do we have access to curl from inside the jenkins job dsl?

230 views
Skip to first unread message

red 888

unread,
Jul 3, 2018, 11:45:28 AM7/3/18
to job-dsl-plugin
I want to make a curl/rest call to an api from inside the job dsl. Is there a native function for that? I need to call the bitbucket api directly because there is some config the bitbucket branch source plugin can't accomplish.

Victor Martinez

unread,
Jul 4, 2018, 6:03:14 PM7/4/18
to job-dsl-plugin

red 888

unread,
Jul 7, 2018, 11:19:54 AM7/7/18
to job-dsl-plugin
Thanks I can use httpbuild, works great but now I have this problem: https://groups.google.com/forum/#!topic/job-dsl-plugin/X5srS3N8FT4

I want to make an authenticated http request which means I need to access credentials, but havent figured out how to access a cred store outside of a job.
Reply all
Reply to author
Forward
0 new messages