Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.283+ jenkins has incomplete setup wizard #345

Closed
vdelendik opened this issue Mar 31, 2021 · 2 comments
Closed

2.283+ jenkins has incomplete setup wizard #345

vdelendik opened this issue Mar 31, 2021 · 2 comments
Labels
Milestone

Comments

@vdelendik
Copy link
Contributor

we have to finish setup wizard explicitly to be able to login without extra questions

jenkinsci/docker#310

if (!instance.installState.isSetupComplete()) {
  println '--> Neutering SetupWizard'
  InstallState.INITIAL_SETUP_COMPLETED.initializeState()
}
@vdelendik vdelendik added the bug label Mar 31, 2021
@vdelendik vdelendik added this to the 1.5 milestone Mar 31, 2021
vdelendik pushed a commit that referenced this issue Apr 1, 2021
@vdelendik
Copy link
Contributor Author

fixed by generating such files during docker image build process:

RUN echo $JENKINS_VERSION > /usr/share/jenkins/ref/jenkins.install.UpgradeWizard.state \
	&& echo $JENKINS_VERSION > /usr/share/jenkins/ref/jenkins.install.InstallUtil.lastExecVersion

When files generated jenkins identify automatically that setup wizard not needed anymore.

during the test setup zebrunner from develop branchand login to jenkins
-> no questions about finishing setup process appears
-> you could login and see regular default folders

@dhreben
Copy link

dhreben commented Apr 1, 2021

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants