-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Jenkins 2.89.4
ace-editor-1.1
ansicolor-0.5.2
ant-1.8
antisamy-markup-formatter-1.5
apache-httpcomponents-client-4-api-4.5.3-2.1
artifactory-2.15.1
authentication-tokens-1.3
badge-1.2
blueocean-1.4.2
blueocean-autofavorite-1.2.2
blueocean-bitbucket-pipeline-1.4.2
blueocean-commons-1.4.2
blueocean-config-1.4.2
blueocean-core-js-1.4.2
blueocean-dashboard-1.4.2
blueocean-display-url-2.2.0
blueocean-events-1.4.2
blueocean-git-pipeline-1.4.2
blueocean-github-pipeline-1.4.2
blueocean-i18n-1.4.2
blueocean-jira-1.4.2
blueocean-jwt-1.4.2
blueocean-personalization-1.4.2
blueocean-pipeline-api-impl-1.4.2
blueocean-pipeline-editor-1.4.2
blueocean-pipeline-scm-api-1.4.2
blueocean-rest-1.4.2
blueocean-rest-impl-1.4.2
blueocean-web-1.4.2
bouncycastle-api-2.16.2
branch-api-2.0.18
build-keeper-plugin-1.3
build-pipeline-plugin-1.5.8
buildtriggerbadge-2.9
cli-commander-0.3
cloudbees-bitbucket-branch-source-2.2.10
cloudbees-folder-6.4
command-launcher-1.2
conditional-buildstep-1.3.6
config-file-provider-2.18
copyartifact-1.39.1
credentials-2.1.16
credentials-binding-1.16
cucumber-reports-3.15.0
cvs-2.14
display-url-api-2.2.0
docker-commons-1.11
docker-java-api-3.0.14
docker-plugin-1.1.3
docker-workflow-1.15.1
durable-task-1.22
email-ext-2.62
extended-read-permission-2.0
extensible-choice-parameter-1.5.0
external-monitor-job-1.7
favorite-2.3.1
ghprb-1.40.0
git-3.8.0
git-client-2.7.1
git-server-1.7
github-1.29.0
github-api-1.90
github-branch-source-2.3.3
github-oauth-0.29
gradle-1.28
groovy-postbuild-2.4
handlebars-1.1.1
handy-uri-templates-2-api-2.1.6-1.0
htmlpublisher-1.15
http_request-1.8.22
ibm-ucdeploy-publisher-1.2.7
icon-shim-2.0.3
ivy-1.28
jackson2-api-2.8.11.1
jacoco-3.0.1
javadoc-1.4
jenkins-design-language-1.4.2
jira-2.5
job-dsl-1.68
jobConfigHistory-2.18
jquery-1.12.4-0
jquery-detached-1.2.1
jsch-0.1.54.2
junit-1.24
kubernetes-1.5
kubernetes-credentials-0.3.1
label-linked-jobs-5.1.2
ldap-1.20
lockable-resources-2.2
mailer-1.21
mapdb-api-1.0.9.0
mask-passwords-2.11.0
matrix-auth-2.2
matrix-project-1.12
maven-plugin-3.1.2
mercurial-2.3
metrics-3.1.2.11
momentjs-1.1.1
monitoring-1.71.0
next-build-number-1.5
pam-auth-1.3
parameterized-trigger-2.35.2
pegdown-formatter-1.3
performance-3.6
pipeline-build-step-2.7
pipeline-github-lib-1.0
pipeline-graph-analysis-1.6
pipeline-input-step-2.8
pipeline-milestone-step-1.3.1
pipeline-model-api-1.2.7
pipeline-model-declarative-agent-1.1.1
pipeline-model-definition-1.2.7
pipeline-model-extensions-1.2.7
pipeline-rest-api-2.10
pipeline-stage-step-2.3
pipeline-stage-tags-metadata-1.2.7
pipeline-stage-view-2.10
pipeline-utility-steps-2.0.2
plain-credentials-1.4
pubsub-light-1.12
purge-build-queue-plugin-1.0
rebuild-1.28
run-condition-1.0
saferestart-0.3
saml-1.0.5
scm-api-2.2.6
script-security-1.43
sidebar-link-1.9.1
simple-theme-plugin-0.4
slack-2.3
sse-gateway-1.15
ssh-agent-1.15
ssh-credentials-1.13
ssh-slaves-1.26
structs-1.14
subversion-2.10.5
timestamper-1.8.9
token-macro-2.4
translation-1.16
variant-1.1
webhook-step-1.3
windows-slaves-1.3.1
workflow-aggregator-2.5
workflow-api-2.26
workflow-basic-steps-2.6
workflow-cps-2.45
workflow-cps-global-lib-2.9
workflow-durable-task-step-2.19
workflow-job-2.17
workflow-multibranch-2.17
workflow-scm-step-2.6
workflow-step-api-2.14
workflow-support-2.18
xunit-1.102
Jenkins 2.89.4 ace-editor-1.1 ansicolor-0.5.2 ant-1.8 antisamy-markup-formatter-1.5 apache-httpcomponents-client-4-api-4.5.3-2.1 artifactory-2.15.1 authentication-tokens-1.3 badge-1.2 blueocean-1.4.2 blueocean-autofavorite-1.2.2 blueocean-bitbucket-pipeline-1.4.2 blueocean-commons-1.4.2 blueocean-config-1.4.2 blueocean-core-js-1.4.2 blueocean-dashboard-1.4.2 blueocean-display-url-2.2.0 blueocean-events-1.4.2 blueocean-git-pipeline-1.4.2 blueocean-github-pipeline-1.4.2 blueocean-i18n-1.4.2 blueocean-jira-1.4.2 blueocean-jwt-1.4.2 blueocean-personalization-1.4.2 blueocean-pipeline-api-impl-1.4.2 blueocean-pipeline-editor-1.4.2 blueocean-pipeline-scm-api-1.4.2 blueocean-rest-1.4.2 blueocean-rest-impl-1.4.2 blueocean-web-1.4.2 bouncycastle-api-2.16.2 branch-api-2.0.18 build-keeper-plugin-1.3 build-pipeline-plugin-1.5.8 buildtriggerbadge-2.9 cli-commander-0.3 cloudbees-bitbucket-branch-source-2.2.10 cloudbees-folder-6.4 command-launcher-1.2 conditional-buildstep-1.3.6 config-file-provider-2.18 copyartifact-1.39.1 credentials-2.1.16 credentials-binding-1.16 cucumber-reports-3.15.0 cvs-2.14 display-url-api-2.2.0 docker-commons-1.11 docker-java-api-3.0.14 docker-plugin-1.1.3 docker-workflow-1.15.1 durable-task-1.22 email-ext-2.62 extended-read-permission-2.0 extensible-choice-parameter-1.5.0 external-monitor-job-1.7 favorite-2.3.1 ghprb-1.40.0 git-3.8.0 git-client-2.7.1 git-server-1.7 github-1.29.0 github-api-1.90 github-branch-source-2.3.3 github-oauth-0.29 gradle-1.28 groovy-postbuild-2.4 handlebars-1.1.1 handy-uri-templates-2-api-2.1.6-1.0 htmlpublisher-1.15 http_request-1.8.22 ibm-ucdeploy-publisher-1.2.7 icon-shim-2.0.3 ivy-1.28 jackson2-api-2.8.11.1 jacoco-3.0.1 javadoc-1.4 jenkins-design-language-1.4.2 jira-2.5 job-dsl-1.68 jobConfigHistory-2.18 jquery-1.12.4-0 jquery-detached-1.2.1 jsch-0.1.54.2 junit-1.24 kubernetes-1.5 kubernetes-credentials-0.3.1 label-linked-jobs-5.1.2 ldap-1.20 lockable-resources-2.2 mailer-1.21 mapdb-api-1.0.9.0 mask-passwords-2.11.0 matrix-auth-2.2 matrix-project-1.12 maven-plugin-3.1.2 mercurial-2.3 metrics-3.1.2.11 momentjs-1.1.1 monitoring-1.71.0 next-build-number-1.5 pam-auth-1.3 parameterized-trigger-2.35.2 pegdown-formatter-1.3 performance-3.6 pipeline-build-step-2.7 pipeline-github-lib-1.0 pipeline-graph-analysis-1.6 pipeline-input-step-2.8 pipeline-milestone-step-1.3.1 pipeline-model-api-1.2.7 pipeline-model-declarative-agent-1.1.1 pipeline-model-definition-1.2.7 pipeline-model-extensions-1.2.7 pipeline-rest-api-2.10 pipeline-stage-step-2.3 pipeline-stage-tags-metadata-1.2.7 pipeline-stage-view-2.10 pipeline-utility-steps-2.0.2 plain-credentials-1.4 pubsub-light-1.12 purge-build-queue-plugin-1.0 rebuild-1.28 run-condition-1.0 saferestart-0.3 saml-1.0.5 scm-api-2.2.6 script-security-1.43 sidebar-link-1.9.1 simple-theme-plugin-0.4 slack-2.3 sse-gateway-1.15 ssh-agent-1.15 ssh-credentials-1.13 ssh-slaves-1.26 structs-1.14 subversion-2.10.5 timestamper-1.8.9 token-macro-2.4 translation-1.16 variant-1.1 webhook-step-1.3 windows-slaves-1.3.1 workflow-aggregator-2.5 workflow-api-2.26 workflow-basic-steps-2.6 workflow-cps-2.45 workflow-cps-global-lib-2.9 workflow-durable-task-step-2.19 workflow-job-2.17 workflow-multibranch-2.17 workflow-scm-step-2.6 workflow-step-api-2.14 workflow-support-2.18 xunit-1.102
If you use the pipeline step jobDsl() twice or if you use the "Process job DSL" build step in the GUI only your last step works.
This destroys anything in the earlier steps.
Example. Given two jobDSL sections with the following jobDSL:
folder('zz-folder1') job('zz-folder1/job-one')
folder('zz-folder2') job('zz-folder2/job-two')
You then get this as the output:
Processing provided DSL script Added items: GeneratedJob{name='zz-folder1'} GeneratedJob{name='zz-folder1/job-one'} Unreferenced items: GeneratedJob{name='zz-tron'} GeneratedJob{name='zz-tron2'} Processing provided DSL script Added items: GeneratedJob{name='zz-folder2'} GeneratedJob{name='zz-folder2/job-two'} Unreferenced items: GeneratedJob{name='zz-folder1'} GeneratedJob{name='zz-folder1/job-one'} Removed items: GeneratedJob{name='zz-folder1'} Finished: SUCCESS
If you want to set different actions (e.g. DELETE vs. DISABLE) or "ignore changes" then you're going to have a bad day as all but your last jobs get deleted.
- duplicates
-
JENKINS-41389 Using multiple "Process Job DSLs" build steps causes UI bugs
- Open
-
JENKINS-44142 Step jobDsl can be used at most once in pipeline with DELETE
- Reopened