Consul support?

13 views
Skip to first unread message

Steve Stevens

unread,
Aug 15, 2017, 12:49:15 PM8/15/17
to job-dsl-plugin
Most of my jenkins jobs are currently built using Job DSL which is great.
I have a new requirement to retrieve a key/value from a Consul instance, but cannot find any DSL to support this.

Does anyone know whether Consul is supported now or will be in the future. I'm expecting the answer to be no, as I cannot find any reference to it in the lookup

The plugin I am making use of to do this manually is here

Thanks all

Victor Martinez

unread,
Aug 15, 2017, 4:31:06 PM8/15/17
to job-dsl-plugin
You can take advantage of https://github.com/jenkinsci/job-dsl-plugin/wiki/Automatically-Generated-DSL 

As far as I see it is supported:
- %YOUR_JENKINS_URL%/plugin/job-dsl/api-viewer/index.html#method/javaposse.jobdsl.dsl.helpers.step.StepContext.consulKVBuilder

Cheers
 

Steve Stevens

unread,
Aug 16, 2017, 3:36:00 AM8/16/17
to job-dsl-plugin
That is exactly what I am looking for! 
Thanks Victor!
Reply all
Reply to author
Forward
0 new messages