Top "Jenkins-job-dsl" questions

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

Jenkins JobDSL multibranchPipelineJob change script path

I am trying to create a multibranchPipelineJob in jobDSL, however the Jenkinsfile is at an alternative location to the default. …

jenkins jenkins-pipeline jenkins-job-dsl multibranch-pipeline
How to include multiple pipeline scripts into jenkinsfile

I have a jenkins file as below pipelineJob('My pipeline job'){ displayName('display name') logRotator { numToKeep(10) daysToKeep(30) artifactDaysToKeep(7) artifactNumToKeep(1) } definition{ …

jenkins jenkins-plugins jenkins-pipeline devops jenkins-job-dsl
Using Jenkins Job-DSL Configure block to place custom steps in particular positions

Using the job-dsl-plugin I am attempting to script the configuration of a fair number of Jenkins jobs which have previously …

groovy jenkins jenkins-job-dsl
How to put jobs inside a folder in jenkins?

I'm trying to put jobs inside a folder using jenkins DSL script Now i create a listView and i put …

jenkins groovy jenkins-pipeline jenkins-job-dsl
Jenkins xml configuration to Groovy-based Jenkins Job DSL

Could somebody give me a useful link, where I can find information about converting the complex xml configuration for Jenkins …

jenkins groovy jenkins-job-dsl
jenkins how to enable checkout lightweight for pipelineJob?

Here is my job DSL which creates pipelinejob in which script is taken from scm itself. pipelineJob ("${jobName}_deploy") { description("…

jenkins jenkins-pipeline jenkins-job-dsl
How to set git credentials using credentials parameter

I'm writing a job-dsl seed job. The seed job needs to be able to generate from either github.com or …

jenkins-job-dsl
How can I delete a job using Job DSL plugin(script) in Jenkins?

I am very new to Jenkins and Job DSL plugin. After a little research, I found how to create a …

jenkins jenkins-plugins jenkins-job-dsl
Workspace path in job DSL within Jenkins pipeline

I am creating a jenkins pipeline job to seed jobs using the jenkins job DSL plugin. How do I get …

jenkins jenkins-pipeline devops jenkins-job-dsl
How can I get the seed job's name inside a Jenksin Job DSL script?

I'm using a Freestyle project / job with a Process Job DSLs build step as provided by the Jenkins Job DSL …

groovy jenkins jenkins-job-dsl