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
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |