Migrating Jenkins

We have Jenkins running on Tomcat, and on the same machine we installed Jenkins as a service. Is there an easy way to migrate projects, jobs and plugins from Jenkins/Tomcat to Jenkins (service)?

Simplest technique is to act as though you’re performing a backup from one location and restoring to the other.

For deeper details and more alternatives, refer to

1 Like

Thank you very much, it worked!

The problem that I have right now is that I can’t save my projects. When I click update I get an empty new window. I’ve checked the folder structure, and it looks good, they all belong to the Jenkins group. The Jenkins URL is singed to the right path. Can’t see where it went wrong.

Jenkins version is 2.303

Usually if a form fails to save with Jenkins 2.277.1 or later, it is due to an outdated plugin that needs to be updated or removed. Jenkins 2.277.1 modernized configuration form handling by converting the HTML table based alignment to use div based alignment. You can read more about it in the blog post:

The Jenkins 2.277.1 changelog provides additional information.

The Jenkins 2.277.1 upgrade guide identifies the steps that need to be performed. Those steps include:

  • Update all plugins to latest releases (like blue ocean, credentials, …)
  • Remove unused plugins (like subversion, mercurial, …)
  • Remove deprecated plugins (like checkstyle, pmd, multiple SCMs, and pipeline declarative agent API)
  • Remove plugins that don’t work with Java 11 (Ruby runtime and its dependents)
  • Remove plugins with known security issues (like TFS)
  • Either install the Jenkins Health Advisor by CloudBees and let it report the plugins with issues or use the system Groovy script from the CloudBees article to list plugins with issues

See the “Installed” tab of the “Manage Jenkins” ==> “Manage Plugins” page for that information about your installation.

If those steps do not resolve the issue, then compare your list of plugins with the plugins known to have configuration form modernization issues. Remove plugins that have those issues or adopt them and fix the issues.

If after completing those steps you’re still seeing issues, then use the tables to divs developer migration guide to identify the plugins to be removed.

If you’re unable to identify the plugin with the issue after those steps, then submit an issue to https://issues.jenkins.io that includes the precise list of plugins installed and their versions and the exact steps you take to duplicate the problem. The list of plugin versions is crucial because others will need to duplicate your environment.

If you prefer a video summary of the changes and discussion of the steps see:

See also

2 Likes

Thank you, this worked for me

jenkins 2.346.3 after installation does not allow me to change settings

I have the same issue as @kouokam , with the same Jenkins version. I have uninstalled all of the deprecated plugins, but Cloudbees Credentials and WMI Windows Agent plugins, which other plugins are dependent on.

@ChrisZ62 please follow the exact instructions that are listed in Migrating Jenkins - #5 by MarkEWaite if you would like others to help you. Without the precise list of plugins you have installed and their versions, others cannot assist.

When you say that you have the same problem, it really means that you are seeing the same symptom. It is highly unlikely that the same exact plugin is causing your problem as the problem that was reported by @kouokam

Fair enough. Here are the list of plugins. I also ran the Cloudbees script and it gave me an empty list. Also just for clarity, I have Jenkins 2.346.3.

jquery-detached:1.2.1
active-directory:2.29
font-awesome-api:6.2.1-1
aws-java-sdk-ecs:1.12.287-357.vf82d85a_6eefd
bootstrap5-api:5.2.1-3
gradle:2.2
mina-sshd-api-core:2.9.2-50.va_0e1f42659a_a
mina-sshd-api-common:2.9.2-50.va_0e1f42659a_a
file-leak-detector:1.10
blueocean-rest-impl:1.26.0
antisamy-markup-formatter:155.v795fb_8702324
variant:59.vf075fe829ccb
testng-plugin:700.va_ea_5873a_3399
blueocean-display-url:2.4.1
external-monitor-job:203.v683c09d993b_9
caffeine-api:2.9.3-65.v6a_47d0f4d1fe
script-security:1228.vd93135a_2fb_25
pubsub-light:1.16
http_request:1.16
ssh-slaves:1.834.v622da_57f702c
multiselect-parameter:1.4
plugin-util-api:2.20.0
allure-jenkins-plugin:2.30.3
jackson2-api:2.14.1-313.v504cdd45c18b
promoted-builds:892.vd6219fc0a_efb
sse-gateway:1.25
display-url-api:2.3.6
database:148.v4a_ff2ca_608b_7
blueocean-git-pipeline:1.26.0
parameterized-trigger:2.45
email-ext:2.92
aws-java-sdk-sns:1.12.287-357.vf82d85a_6eefd
workflow-multibranch:716.vc692a_e52371b_
pipeline-model-extensions:2.2118.v31fd5b_9944b_5
pipeline-model-api:2.2118.v31fd5b_9944b_5
pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5
pipeline-rest-api:2.28
jsch:0.1.55.61.va_e9ee26616e7
blueocean-config:1.26.0
jnr-posix-api:3.1.16-1
aws-java-sdk-ecr:1.12.287-357.vf82d85a_6eefd
jira-steps:2.0.141.vd0c6e6dc83f0
blueocean-personalization:1.26.0
uno-choice:2.6.4
pipeline-multibranch-defaults:2.1
envinject-api:1.199.v3ce31253ed13
windows-slaves:1.8.1
build-keeper-plugin:1.3
zap:1.1.0
jdk-tool:63.v62d2fd4b_4793
audit-trail:3.11
jjwt-api:0.11.5-77.v646c772fddb_0
ssh:2.6.1
workflow-step-api:639.v6eca_cd8c04a_a_
sonar:2.14
dashboard-view:2.466.vdfefd95a_b_f8d
ec2-fleet:2.5.2
cloudbees-jenkins-advisor:326.v1821e6a_85e3f
performance:3.20
matrix-project:772.v494f19991984
bootstrap4-api:4.6.0-5
versionnumber:1.10
blueocean-jira:1.26.0
pipeline-maven:1257.v89e586d3c58c
amazon-ecr:1.107.ve50d37906739
sshd:3.242.va_db_9da_b_26a_c3
pipeline-github-lib:38.v445716ea_edda_
jobConfigHistory:1176.v1b_4290db_41a_5
plugin-usage-plugin:3.0
cloudbees-credentials:3.3
popper2-api:2.11.6-2
scoring-load-balancer:1.0.1
nodejs:1.5.1
authentication-tokens:1.4
ssh-credentials:305.v8f4381501156
docker-commons:1.21
nvm-wrapper:0.1.7
gatling-check:1.0.0
slack:631.v40deea_40323b
blueocean-web:1.26.0
blueocean-dashboard:1.26.0
workflow-support:839.v35e2736cfd5c
github:1.34.5
gatling:1.3.0
run-condition:1.5
token-macro:321.vd7cc1f2a_52c8
external-workspace-manager:1.2.3
apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
blueocean-github-pipeline:1.26.0
node-iterator-api:49.v58a_8b_35f8363
monitoring:1.91.0
mailer:435.438.v5b_81173f5b_a_1
workflow-api:1200.v8005c684b_a_c6
build-user-vars-plugin:1.9
blueocean-pipeline-editor:1.26.0
run-selector:1.1.1
packer:1.5
jacoco:3.3.2
ace-editor:1.1
snakeyaml-api:1.33-90.v80dcb_3814d35
pipeline-aggregator-view:1.11
jira:3.8
github-branch-source:1696.v3a_7603564d04
database-mysql:1.4
git-server:1.11
aws-java-sdk-cloudformation:1.12.287-357.vf82d85a_6eefd
scm-api:631.v9143df5b_e4a_a
git:4.14.3
xvfb:1.2
junit:1166.va_436e268e972
build-pipeline-plugin:1.5.8
mktmpio:0.3.2
pipeline-utility-steps:2.15.0
bouncycastle-api:2.27
workflow-remote-loader:1.5
aws-lambda:0.5.10
workflow-cps:3536.vb_8a_6628079d5
pipeline-model-definition:2.2118.v31fd5b_9944b_5
aws-java-sdk-elasticbeanstalk:1.12.287-357.vf82d85a_6eefd
h2-api:1.4.199
htmlpublisher:1.31
jquery3-api:3.6.1-2
jaxb:2.3.7-1
okhttp-api:4.9.3-108.v0feda04578cf
envinject:2.892.v25453b_80e595
workflow-job:1207.ve6191ff089f8
git-client:3.13.1
lockable-resources:2.18
commons-lang3-api:3.12.0-36.vd97de6465d5b_
transifex:0.1.0
cloudbees-folder:6.740.ve4f4ffa_dea_54
pipeline-milestone-step:101.vd572fef9d926
conditional-buildstep:1.4.2
ssh-agent:295.v9ca_a_1c7cc3a_a_
chromedriver:1.2
ansicolor:1.0.2
favorite:2.4.1
support-core:1241.v32a_39d7032e5
aws-java-sdk-logs:1.12.287-357.vf82d85a_6eefd
echarts-api:5.4.0-1
credentials-binding:523.vd859a_4b_122e6
timestamper:1.21
aws-java-sdk-ssm:1.12.287-357.vf82d85a_6eefd
blueocean-pipeline-scm-api:1.26.0
workflow-aggregator:590.v6a_d052e5a_a_b_5
docker-java-api:3.2.13-37.vf3411c9828b9
javadoc:226.v71211feb_e7e9
workflow-durable-task-step:1217.v38306d8fa_b_5c
jslint:0.8.2
pipeline-aws:1.43
bitbucket-push-and-pull-request:2.8.3
trilead-api:1.67.vc3938a_35172f
maven-plugin:3.20
blueocean-core-js:1.26.0
pipeline-stage-view:2.28
cloudbees-bitbucket-branch-source:791.vb_eea_a_476405b
extensible-choice-parameter:1.8.0
blueocean-pipeline-api-impl:1.26.0
database-drizzle:1.0
aws-java-sdk-efs:1.12.287-357.vf82d85a_6eefd
pipeline-input-step:466.v6d0a_5df34f81
bitbucket:223.vd12f2bca5430
global-slack-notifier:1.5
folder-properties:1.2.1
command-launcher:90.v669d7ccb_7c31
ec2:2.0.4
pam-auth:1.10
copyartifact:1.48
aws-java-sdk-ec2:1.12.287-357.vf82d85a_6eefd
awseb-deployment-plugin:0.3.21
handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
config-file-provider:3.11.1
pipeline-build-step:2.18
github-api:1.303-400.v35c2d8258028
blueocean-i18n:1.26.0
blueocean-rest:1.26.0
ssh-steps:2.0.39.v831c5e6468b_c
saferestart:0.7
blueocean-bitbucket-pipeline:1.26.0
metrics:4.2.13-420.vea_2f17932dd6
shared-workspace:1.0.2
matrix-auth:3.1.5
aws-java-sdk:1.12.287-357.vf82d85a_6eefd
workflow-scm-step:400.v6b_89a_1317c9a_
chucknorris:1.4
aws-credentials:191.vcb_f183ce58b_9
build-timeout:1.24
plain-credentials:143.v1b_df8b_d3b_e48
blueocean-autofavorite:1.2.5
pipeline-groovy-lib:629.vb_5627b_ee2104
aws-java-sdk-minimal:1.12.287-357.vf82d85a_6eefd
blueocean-events:1.26.0
ws-cleanup:0.43
blueocean-jwt:1.26.0
role-strategy:584.vf8e515397ecd
jersey2-api:2.37-1
cvs:2.19.1
pipeline-stage-step:296.v5f6908f017a_5
scalable-amazon-ecs:1.0
amazon-ecs:1.47
locks-and-latches:0.6
docker-workflow:563.vd5d2e5c4007f
mercurial:1260.vdfb_723cdcc81
ant:481.v7b_09e538fcca
authorize-project:1.4.0
aws-java-sdk-sqs:1.12.287-357.vf82d85a_6eefd
durable-task:503.v57154d18d478
workflow-basic-steps:994.vd57e3ca_46d24
emotional-jenkins-plugin:1.2
jakarta-activation-api:2.0.1-2
handlebars:3.0.8
commons-text-api:1.10.0-27.vb_fa_3896786a_7
branch-api:2.1071.v1a_188a_562481
javax-activation-api:1.2.0-5
jenkins-design-language:1.26.0
promoted-builds-simple:1.9
pipeline-graph-analysis:195.v5812d95a_a_2f9
resource-disposer:0.20
ionicons-api:31.v4757b_6987003
blueocean-commons:1.26.0
popper-api:1.16.1-3
checks-api:1.8.1
aws-java-sdk-codebuild:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-iam:1.12.287-357.vf82d85a_6eefd
jakarta-mail-api:2.0.1-2
jquery:1.12.4-1
git-parameter:0.9.18
ansible:1.1
credentials:1143.vb_e8b_b_ceee347
blueocean:1.26.0
aws-codepipeline:0.45
fail-the-build-plugin:1.0
job-restrictions:0.8
extra-columns:1.25
momentjs:1.1.1
ec2-deployment-dashboard:1.0.10
ldap:659.v8ca_b_a_fe79fa_d
javax-mail-api:1.6.2-8

I have downloaded Jenkins 2.346.3 but I can’t find the option to change the setting. can someone guide me.