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

Global Tool Configuration not working from 2.346-alphine docker image

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • core
    • Jenkins is installed using the docker image(jenkins/jenkins) on Linux machine.
      Version: 2.345-alpine

      We are currently using Jenkins 2.345-alpine version as part of the docker container. Jenkins is giving issues with the configured Global Tools such as NodeJS, Docker, JAVA, etc. All the configured Global Tools setting is unharmed after the upgrade but Jenkins is giving the following errors from 2.346-alpine version and above.

      Reference Errors faced while building the pipeline: 

      NodeJS : 
      $ /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs/bin/npm install -g npm install -g
      env: 'node': No such file or directory
      Docker:
      /var/jenkins_home/workspace/docker@tmp/durable-507b78de/script.sh: line 1: docker: not found
      JAVA:
      /var/jenkins_home/tools/hudson.model.JDK/sonar-jdk11/bin/java: not found
       

      I have tried upgrading the plugins but that doesn't seems to work. When I downgrade it back to 2.345-alphine it works fine.

          [JENKINS-68709] Global Tool Configuration not working from 2.346-alphine docker image

            Unassigned Unassigned
            aditi_97 Aditi Varade
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: