docker-lab | This is an introductory workshop to Docker | Continuous Deployment library
kandi X-RAY | docker-lab Summary
kandi X-RAY | docker-lab Summary
This is an introductory workshop to Docker. You can find the documentation, step-by-step tutorial and the sample applications used.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-lab
docker-lab Key Features
docker-lab Examples and Code Snippets
Community Discussions
Trending Discussions on docker-lab
QUESTION
Hi I am trying to get a Jenknis-Declarative-Pipeline-Job work.
The Use-Case should be pretty simple:
I want to build multiple Plugins with the same Jenkins-pipeline. To do so I wrote a "JenkinsLibrary" with an interface the Plugins can use for parameters. One of this parameters is the axis-values.
The Problem I have is pretty similar to this reddist post.
I want to set the "values" of the "axis" of the matrix-build from a variable. I am out of Ideas, is this even possible?
So here is my example:
a "JenkinsLibrary" with a file my_library.groovy
ANSWER
Answered 2020-Jan-21 at 20:31What you are trying to achieve is to wrap a pipeline in a share library in order to reuse it as a template?
I suggest you try this library https://github.com/SAP/jenkins-pipelayer/
It implements a template system, you generate jobs based on property files, the variables between double curly brakets get replaced when the job is generated onto jenkins. https://github.com/SAP/jenkins-pipelayer/blob/master/USAGE.md#template-engine
The lib also resolves the issue we have with job parameters not beeing built at first run of the pipeline
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-lab
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page