Top "Jenkins-job-dsl" questions

Jenkins Job-DSL is a Jenkins plugin which enables the creation of Jenkins Jobs using Groovy scripts.

Create a file with some content using Groovy in Jenkins pipeline

I am trying to create a file called groovy1.txt with the content "Working with files the Groovy way is …

jenkins groovy jenkins-pipeline jenkins-job-dsl jenkins-groovy
Using env variables to set other variables in Jenkins pipeline as code

I cannot use environment variables set in previous blocks in access stage below. pipeline{ agent any stages{ stage("set env …

jenkins groovy jenkins-pipeline jenkins-job-dsl
Difference between 'Delete workspace before build starts' and 'Wipe out repository & force clone' in Jenkins?

I am testing the jenkins job-dsl plugin. I have an existing project where the setting 'Delete workspace before build starts' …

jenkins jenkins-job-dsl
seed job asks for script approval in jenkins

I was trying to execute a seed job(having github url with groovy scripts) in jenkins and got following error. …

jenkins jenkins-job-dsl
Job DSL to create "Pipeline" type job

I have installed Pipeline Plugin which used to be called as Workflow Plugin earlier. https://wiki.jenkins-ci.org/display/JENKINS/…

jenkins jenkins-plugins jenkins-pipeline jenkins-workflow jenkins-job-dsl
Job DSL Plugin Vs Pipeline Plugin

What is the major difference between Job DSL Plugin and Pipeline Plugin both provide way to programmatic job creation which …

jenkins jenkins-plugins jenkins-job-dsl
How to specify Job DSL checkout timeout in Jenkins Git plugin?

Clone timeout can be specified using: git { ... cloneTimeout(60) } where 60 is timeout is minutes. I read that checkout timeout can also …

jenkins jenkins-plugins jenkins-job-dsl
Jenkins Job DSL: Using parameters in groovyScript in job step

For my build job "generated-job-1" I need several parameters, which are passed in when the build (of the generated-job-1) is …

jenkins groovy jenkins-job-dsl
How can I export an existing job into an Jenkinsfile?

I would like to use Pipeline to keep track of my Jenkin Jobs within my SCM. (Source control manager). Is …

jenkins jenkins-plugins jenkins-pipeline jenkins-job-dsl
What are seed jobs in Jenkins and how does it work?

What are seed jobs in Jenkins and how does it work ? Can we create a new job from seed job …

jenkins jenkins-plugins jenkins-job-dsl