-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins version latest in docker and jenkins/jenkins version latest in docker
Latest Jenkins version on docker and latest jenkins/jenkins version on docker.
All two images failed showing the following errors:
1: Build a freestyle software project.
Started by user Quintiliano Paquini Nery Running as SYSTEM Building in workspace /var/jenkins_home/workspace/Exercicios_Ebac_Cypress The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/Exercicios_Ebac_Cypress/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/QuintilianoNery/Exercicios_Ebac_Cypress.git timeout=10 Fetching upstream changes from https://github.com/QuintilianoNery/Exercicios_Ebac_Cypress.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress – https://github.com/QuintilianoNery/Exercicios_Ebac_Cypress.git +refs/heads/:refs/remotes/origin/ # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 70be853333e0bf7a99688bc85e8992444917987a (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 70be853333e0bf7a99688bc85e8992444917987a # timeout=10 Commit message: "CICD Jenkins" > git rev-list --no-walk 70be853333e0bf7a99688bc85e8992444917987a # timeout=10 [Exercicios_Ebac_Cypress] $ /bin/sh -xe /tmp/jenkins6961715798762454654.sh + tools {nodejs Node JS} /tmp/jenkins6961715798762454654.sh: 2: tools: not found Build step 'Execute shell' marked build as failure Finished: FAILURE
2: Pipeline
Started by user Quintiliano Paquini Nery [Pipeline] Start of Pipeline[Pipeline] nodeRunning on Jenkins in /var/jenkins_home/workspace/Exercicios_Ebac_Cypress Pipeline[Pipeline] Unknown macro: {[Pipeline] stage[Pipeline] { (Clonar repositorio)[Pipeline] gitThe recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/Exercicios_Ebac_Cypress Pipeline/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url [https://github.com/QuintilianoNery/Exercicios_Ebac_Cypress.git] # timeout=10 Fetching upstream changes from [https://github.com/QuintilianoNery/Exercicios_Ebac_Cypress.git] > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress -- [https://github.com/QuintilianoNery/Exercicios_Ebac_Cypress.git] +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^\{commit} # timeout=10 Checking out Revision c5c59302add6735eaf6b3b0dc64a162db9426c12 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f c5c59302add6735eaf6b3b0dc64a162db9426c12 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git branch -D master # timeout=10 > git checkout -b master c5c59302add6735eaf6b3b0dc64a162db9426c12 # timeout=10 Commit message} [Pipeline] // stage[Pipeline] stage[Pipeline] { (Instalar Dependencias)[Pipeline] sh+ npm install /var/jenkins_home/workspace/Exercicios_Ebac_Cypress Pipeline@tmp/durable-0753d77c/script.sh: 1: npm: not found[Pipeline] } [Pipeline] // stage[Pipeline] stage[Pipeline] { (Executar testes)Stage "Executar testes" skipped due to earlier failure(s)[Pipeline] } [Pipeline] // stage[Pipeline] }[Pipeline] // node[Pipeline] End of Pipeline ERROR: script returned exit code 127 Finished: FAILURE