• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      It's not possible to enable disabled dependencies that should not have been disabled in the first place.

      Steps to reproduce:

      $ export JAVA_HOME=$HOME/DisabledDependencyHome
      $ java -jar jenkins.war
      ^C
      $ touch $JENKINS_HOME/plugins/{junit,matrix-project,maven-plugin}.jpi.disabled
      $ java -jar jenkins.war
      

      No warnings upon second startup, and JUnit plugin cannot be enabled through the UI

          [JENKINS-32340] Cannot enable disabled dependencies

          Daniel Beck created issue -
          Daniel Beck made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: core [ 21134 ]
          Key Original: INFRA-540 New: JENKINS-32340
          Workflow Original: classic default workflow [ 167950 ] New: JNJira [ 167950 ]
          Project Original: Infrastructure [ 10301 ] New: Jenkins [ 10172 ]
          Félix Belzunce Arcos made changes -
          Assignee Original: Tom FENNELLY [ tfennelly ] New: Félix Belzunce Arcos [ fbelzunc ]
          Félix Belzunce Arcos made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Félix Belzunce Arcos made changes -
          URL New: https://github.com/jenkinsci/jenkins/pull/2002
          Description Original: It's not possible to enable disabled dependencies that should not have been disabled in the first place.

          Steps to reproduce:

          {noformat}
          $ export JAVA_HOME=$HOME/DisabledDependencyHome
          $ java -jar jenkins.war
          ^C
          $ touch $JENKINS_HOME/plugins{junit,matrix-project,maven-plugin}.jpi.disabled
          $ java -jar jenkins.war
          {noformat}

          No warnings upon second startup, and JUnit plugin cannot be enabled through the UI
          New: It's not possible to enable disabled dependencies that should not have been disabled in the first place.

          Steps to reproduce:

          {noformat}
          $ export JAVA_HOME=$HOME/DisabledDependencyHome
          $ java -jar jenkins.war
          ^C
          $ touch $JENKINS_HOME/plugins/{junit,matrix-project,maven-plugin}.jpi.disabled
          $ java -jar jenkins.war
          {noformat}

          No warnings upon second startup, and JUnit plugin cannot be enabled through the UI
          Daniel Beck made changes -
          Link New: This issue is related to JENKINS-32580 [ JENKINS-32580 ]
          Daniel Beck made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          Daniel Beck made changes -
          Labels Original: lts-candidate New: 2.0-planned lts-candidate

          Daniel Beck added a comment -

          Needs to be in 2.0 RC now that JENKINS-21486 will be in it as well.

          Daniel Beck added a comment - Needs to be in 2.0 RC now that JENKINS-21486 will be in it as well.

          from fbelzunc See https://github.com/jenkinsci/jenkins/pull/2229 - It looks like the issue got fixed by Vincent PR

          Spike Washburn added a comment - from fbelzunc See https://github.com/jenkinsci/jenkins/pull/2229 - It looks like the issue got fixed by Vincent PR

            fbelzunc Félix Belzunce Arcos
            danielbeck Daniel Beck
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: