17:08:37 [2026-09-15T15:08:37.921Z] Démarré par l'utilisateur Miguel Moquillon
17:08:37 [2026-09-15T15:08:37.921Z] Running as userbuild
17:08:38 [2026-09-15T15:08:38.471Z] Obtained src/releases/docker-build/Jenkinsfile from git https://github.com/Silverpeas/Jenkins-Pipelines.git
17:08:39 [2026-09-15T15:08:39.524Z] [Pipeline] Start of Pipeline
17:08:39 [2026-09-15T15:08:39.749Z] [Pipeline] node
17:08:39 [2026-09-15T15:08:39.752Z] Running on Jenkins in /var/lib/jenkins/workspace/Silverpeas Projects Build Image
17:08:39 [2026-09-15T15:08:39.754Z] [Pipeline] {
17:08:39 [2026-09-15T15:08:39.765Z] [Pipeline] stage
17:08:39 [2026-09-15T15:08:39.765Z] [Pipeline] { (Declarative: Checkout SCM)
17:08:39 [2026-09-15T15:08:39.770Z] [Pipeline] checkout
17:08:39 [2026-09-15T15:08:39.773Z] Selected Git installation does not exist. Using Default
17:08:39 [2026-09-15T15:08:39.773Z] The recommended git tool is: NONE
17:08:39 [2026-09-15T15:08:39.773Z] No credentials specified
17:08:39 [2026-09-15T15:08:39.773Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10
17:08:39 [2026-09-15T15:08:39.778Z] Fetching changes from the remote Git repository
17:08:39 [2026-09-15T15:08:39.781Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/Jenkins-Pipelines.git # timeout=10
17:08:39 [2026-09-15T15:08:39.786Z] Fetching upstream changes from https://github.com/Silverpeas/Jenkins-Pipelines.git
17:08:39 [2026-09-15T15:08:39.786Z] > /usr/bin/git --version # timeout=10
17:08:39 [2026-09-15T15:08:39.790Z] > git --version # 'git version 2.43.0'
17:08:39 [2026-09-15T15:08:39.790Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/Jenkins-Pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
17:08:40 [2026-09-15T15:08:40.257Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
17:08:40 [2026-09-15T15:08:40.265Z] Checking out Revision b3a0a7bf423a3407c3bc6980f30a0c6ee678b5ae (refs/remotes/origin/master)
17:08:40 [2026-09-15T15:08:40.265Z] > /usr/bin/git config core.sparsecheckout # timeout=10
17:08:40 [2026-09-15T15:08:40.271Z] > /usr/bin/git checkout -f b3a0a7bf423a3407c3bc6980f30a0c6ee678b5ae # timeout=10
17:08:40 [2026-09-15T15:08:40.293Z] Commit message: "Now by default Java version is 21 in the pipeline for building the project build Docker image"
17:08:40 [2026-09-15T15:08:40.293Z] > /usr/bin/git rev-list --no-walk b3a0a7bf423a3407c3bc6980f30a0c6ee678b5ae # timeout=10
17:08:40 [2026-09-15T15:08:40.314Z] [Pipeline] }
17:08:40 [2026-09-15T15:08:40.318Z] [Pipeline] // stage
17:08:40 [2026-09-15T15:08:40.327Z] [Pipeline] withEnv
17:08:40 [2026-09-15T15:08:40.327Z] [Pipeline] {
17:08:40 [2026-09-15T15:08:40.342Z] [Pipeline] withEnv
17:08:40 [2026-09-15T15:08:40.342Z] [Pipeline] {
17:08:40 [2026-09-15T15:08:40.352Z] [Pipeline] stage
17:08:40 [2026-09-15T15:08:40.353Z] [Pipeline] { (Check the Docker image version to build)
17:08:40 [2026-09-15T15:08:40.392Z] Stage "Check the Docker image version to build" skipped due to when conditional
17:08:40 [2026-09-15T15:08:40.393Z] [Pipeline] getContext
17:08:40 [2026-09-15T15:08:40.395Z] [Pipeline] }
17:08:40 [2026-09-15T15:08:40.399Z] [Pipeline] // stage
17:08:40 [2026-09-15T15:08:40.405Z] [Pipeline] stage
17:08:40 [2026-09-15T15:08:40.406Z] [Pipeline] { (Checkout the project)
17:08:40 [2026-09-15T15:08:40.423Z] [Pipeline] git
17:08:40 [2026-09-15T15:08:40.428Z] The recommended git tool is: NONE
17:08:40 [2026-09-15T15:08:40.429Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59
17:08:40 [2026-09-15T15:08:40.439Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10
17:08:40 [2026-09-15T15:08:40.445Z] Fetching changes from the remote Git repository
17:08:40 [2026-09-15T15:08:40.447Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/docker-silverpeas-build # timeout=10
17:08:40 [2026-09-15T15:08:40.453Z] Fetching upstream changes from https://github.com/Silverpeas/docker-silverpeas-build
17:08:40 [2026-09-15T15:08:40.453Z] > /usr/bin/git --version # timeout=10
17:08:40 [2026-09-15T15:08:40.458Z] > git --version # 'git version 2.43.0'
17:08:40 [2026-09-15T15:08:40.458Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins
17:08:40 [2026-09-15T15:08:40.462Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/docker-silverpeas-build +refs/heads/*:refs/remotes/origin/* # timeout=10
17:08:41 [2026-09-15T15:08:41.146Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
17:08:41 [2026-09-15T15:08:41.151Z] Checking out Revision 7522279bd79600572279cc98acaa428efb1382d8 (refs/remotes/origin/master)
17:08:41 [2026-09-15T15:08:41.151Z] > /usr/bin/git config core.sparsecheckout # timeout=10
17:08:41 [2026-09-15T15:08:41.156Z] > /usr/bin/git checkout -f 7522279bd79600572279cc98acaa428efb1382d8 # timeout=10
17:08:41 [2026-09-15T15:08:41.193Z] > /usr/bin/git branch -a -v --no-abbrev # timeout=10
17:08:41 [2026-09-15T15:08:41.201Z] > /usr/bin/git branch -D master # timeout=10
17:08:41 [2026-09-15T15:08:41.212Z] > /usr/bin/git checkout -b master 7522279bd79600572279cc98acaa428efb1382d8 # timeout=10
17:08:41 [2026-09-15T15:08:41.251Z] Commit message: "Create the .gradle directory in the user home dir so that he should have the right to write into it"
17:08:41 [2026-09-15T15:08:41.251Z] > /usr/bin/git rev-list --no-walk 7522279bd79600572279cc98acaa428efb1382d8 # timeout=10
17:08:41 [2026-09-15T15:08:41.268Z] [Pipeline] }
17:08:41 [2026-09-15T15:08:41.272Z] [Pipeline] // stage
17:08:41 [2026-09-15T15:08:41.278Z] [Pipeline] stage
17:08:41 [2026-09-15T15:08:41.279Z] [Pipeline] { (Switch branch for non-latest version)
17:08:41 [2026-09-15T15:08:41.306Z] [Pipeline] sh
17:08:41 [2026-09-15T15:08:41.565Z] + +
17:08:41 [2026-09-15T15:08:41.565Z] git/var/lib/jenkins/workspace/Silverpeas Projects Build Image@tmp/durable-dc0d74be/script.sh.copy: 4: branchSyntax error: end of file unexpected (expecting "fi") -r
17:08:41 [2026-09-15T15:08:41.565Z]
17:08:41 [2026-09-15T15:08:41.565Z] + echo 6.4.x
17:08:41 [2026-09-15T15:08:41.565Z] 6.4.x
17:08:41 [2026-09-15T15:08:41.567Z] [Pipeline] }
17:08:41 [2026-09-15T15:08:41.572Z] [Pipeline] // stage
17:08:41 [2026-09-15T15:08:41.582Z] [Pipeline] stage
17:08:41 [2026-09-15T15:08:41.582Z] [Pipeline] { (Update current latest version)
17:08:41 [2026-09-15T15:08:41.587Z] Stage "Update current latest version" skipped due to earlier failure(s)
17:08:41 [2026-09-15T15:08:41.588Z] [Pipeline] getContext
17:08:41 [2026-09-15T15:08:41.589Z] [Pipeline] }
17:08:41 [2026-09-15T15:08:41.594Z] [Pipeline] // stage
17:08:41 [2026-09-15T15:08:41.601Z] [Pipeline] stage
17:08:41 [2026-09-15T15:08:41.601Z] [Pipeline] { (Publish stable version)
17:08:41 [2026-09-15T15:08:41.606Z] Stage "Publish stable version" skipped due to earlier failure(s)
17:08:41 [2026-09-15T15:08:41.607Z] [Pipeline] getContext
17:08:41 [2026-09-15T15:08:41.608Z] [Pipeline] }
17:08:41 [2026-09-15T15:08:41.613Z] [Pipeline] // stage
17:08:41 [2026-09-15T15:08:41.620Z] [Pipeline] stage
17:08:41 [2026-09-15T15:08:41.621Z] [Pipeline] { (Publish latest version)
17:08:41 [2026-09-15T15:08:41.626Z] Stage "Publish latest version" skipped due to earlier failure(s)
17:08:41 [2026-09-15T15:08:41.627Z] [Pipeline] getContext
17:08:41 [2026-09-15T15:08:41.628Z] [Pipeline] }
17:08:41 [2026-09-15T15:08:41.633Z] [Pipeline] // stage
17:08:41 [2026-09-15T15:08:41.641Z] [Pipeline] stage
17:08:41 [2026-09-15T15:08:41.641Z] [Pipeline] { (Declarative: Post Actions)
17:08:41 [2026-09-15T15:08:41.653Z] [Pipeline] step
17:08:41 [2026-09-15T15:08:41.665Z] Sending e-mails to: miguel.moquillon@silverpeas.org silveryocha@chastagnier.com
17:08:41 [2026-09-15T15:08:41.766Z] [Pipeline] }
17:08:41 [2026-09-15T15:08:41.770Z] [Pipeline] // stage
17:08:41 [2026-09-15T15:08:41.775Z] [Pipeline] }
17:08:41 [2026-09-15T15:08:41.780Z] [Pipeline] // withEnv
17:08:41 [2026-09-15T15:08:41.785Z] [Pipeline] }
17:08:41 [2026-09-15T15:08:41.790Z] [Pipeline] // withEnv
17:08:41 [2026-09-15T15:08:41.795Z] [Pipeline] }
17:08:41 [2026-09-15T15:08:41.800Z] [Pipeline] // node
17:08:41 [2026-09-15T15:08:41.806Z] [Pipeline] End of Pipeline
17:08:41 [2026-09-15T15:08:41.822Z] ERROR: script returned exit code 2
17:08:41 [2026-09-15T15:08:41.837Z] Finished: FAILURE