Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62778

Latest version of jenkins is not set up with the default config

XMLWordPrintable

      My project was using jenkins version 2.222.4. What we usually do is we create a jenkins docker from `docker pull jenkins/jenkins:lts`, and then we copy our own config file `jenkins.yaml` to the path `/usr/share/jenkins/ref/` in the docker. And then the jenkins will be set up by the configs in the yaml file.

       

      In our jenkins.yaml, we would set up configurations like authorizationStrategy.globalMatrix.permissions, and 
      securityRealm...
       

      But recently when we deploy our jenkins again, of course it pulls the latest jenkins version, 2.241. But when we deploy the jenkins, we find it's not using the configurations from jenkins.yaml, but using default settings instead.

       

      I have verified that by changing the jenkins version from lts to 2.222.4 can solve the issue. But my question is how can I make the latest jenkins version to be set up with my jenkins.yaml configuration

            ed_u Ed U
            ed_u Ed U
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: