You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[JENKINS-42577] Jenkins.version saved only from doConfigSubmit #21919
2.32.2. Set up Jenkins from the setup wizard. Install matrix-auth and configure admin to have everything but anonymous to have only discover, and Save. You will see config.xml as expected:
Yet after restart if you revisit /configureSecurity, in the UI and reality, anonymous is granted Item.READ.
Seems that the JENKINS-2324 workaround is incorrectly being applied, since Jenkins.isUpgradedFromBefore is broken, since version on config.xml is still 1.0!
2.32.2. Set up Jenkins from the setup wizard. Install matrix-auth and configure admin to have everything but anonymous to have only discover, and Save. You will see config.xml as expected:
Yet after restart if you revisit /configureSecurity, in the UI and reality, anonymous is granted Item.READ.
Seems that the JENKINS-2324 workaround is incorrectly being applied, since Jenkins.isUpgradedFromBefore is broken, since version on config.xml is still 1.0!
Code changed in jenkins
User: kel
Path:
core/src/main/java/jenkins/model/Jenkins.java
test/src/test/java/jenkins/install/InstallUtilTest.java
test/src/test/java/jenkins/model/JenkinsTest.java
http://jenkins-ci.org/commit/jenkins/27569a965a80caa1352e67c255065b5a67cb1a27
Log:
[Fix JENKINS-42577] Save jenkins version in Jenkins.save() (#3010)
[Fix JENKINS-42577] Save jenkins version in Jenkins.save()
jglick Didn't notice your comment here. The PR is #3010 , it has been integrated towards the next weekly. If you have any concerns, please comment in the pull request
I presume you never confirmed that the originally reported bug was actually fixed, since the reproduction steps involve going through the setup wizard, which was broken by this as detailed in JENKINS-47139.
I presume you never confirmed that the originally reported bug was actually fixed, since the reproduction steps involve going through the setup wizard, which was broken by this as detailed in JENKINS-47139.
Activity
jenkins-infra-bot commentedon Mar 8, 2017
Remote link associated with this issue:
jenkins-infra-bot commentedon Mar 8, 2017
Raw content of original comment:
Fix should be to move
into save.
jenkins-infra-bot commentedon Sep 18, 2017
Raw content of original comment:
If and when there is a PR for this, Link it here and set to In Review.
jenkins-infra-bot commentedon Sep 22, 2017
Raw content of original comment:
Code changed in jenkins
User: kel
Path:
core/src/main/java/jenkins/model/Jenkins.java
test/src/test/java/jenkins/install/InstallUtilTest.java
test/src/test/java/jenkins/model/JenkinsTest.java
http://jenkins-ci.org/commit/jenkins/27569a965a80caa1352e67c255065b5a67cb1a27
Log:
[Fix JENKINS-42577] Save jenkins version in Jenkins.save() (#3010)
jenkins-infra-bot commentedon Sep 22, 2017
Raw content of original comment:
jglick Didn't notice your comment here. The PR is #3010 , it has been integrated towards the next weekly. If you have any concerns, please comment in the pull request
jenkins-infra-bot commentedon Sep 24, 2017
Raw content of original comment:
Fixed towards 2.80.
jenkins-infra-bot commentedon Sep 27, 2017
Raw content of original comment:
I presume you never confirmed that the originally reported bug was actually fixed, since the reproduction steps involve going through the setup wizard, which was broken by this as detailed in
JENKINS-47139.jenkins-infra-bot commentedon Nov 24, 2025
[Original
depends_onfrom Jira: JENKINS-47139]jenkins-infra-bot commentedon Nov 24, 2025
[Original
blocksfrom Jira: JENKINS-2324]