SuccèsSortie de la console
16:27:09 [2022-04-07T14:27:09.603Z] Démarré par l'utilisateur Miguel Moquillon
16:27:09 [2022-04-07T14:27:09.603Z] Running as userbuild
16:27:11 [2022-04-07T14:27:11.910Z] Obtained src/releases/docker-prod/Jenkinsfile from git https://github.com/Silverpeas/Jenkins-Pipelines.git
16:27:12 [2022-04-07T14:27:12.007Z] [Pipeline] Start of Pipeline
16:27:12 [2022-04-07T14:27:12.137Z] [Pipeline] node
16:27:12 [2022-04-07T14:27:12.140Z] Running on Jenkins in /var/lib/jenkins/workspace/Silverpeas Prod Image
16:27:12 [2022-04-07T14:27:12.141Z] [Pipeline] {
16:27:12 [2022-04-07T14:27:12.152Z] [Pipeline] stage
16:27:12 [2022-04-07T14:27:12.152Z] [Pipeline] { (Declarative: Checkout SCM)
16:27:12 [2022-04-07T14:27:12.157Z] [Pipeline] checkout
16:27:12 [2022-04-07T14:27:12.158Z] Selected Git installation does not exist. Using Default
16:27:12 [2022-04-07T14:27:12.159Z] The recommended git tool is: NONE
16:27:12 [2022-04-07T14:27:12.159Z] No credentials specified
16:27:12 [2022-04-07T14:27:12.159Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Prod Image/.git # timeout=10
16:27:12 [2022-04-07T14:27:12.165Z] Fetching changes from the remote Git repository
16:27:12 [2022-04-07T14:27:12.165Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/Jenkins-Pipelines.git # timeout=10
16:27:12 [2022-04-07T14:27:12.174Z] Fetching upstream changes from https://github.com/Silverpeas/Jenkins-Pipelines.git
16:27:12 [2022-04-07T14:27:12.174Z] > /usr/bin/git --version # timeout=10
16:27:12 [2022-04-07T14:27:12.180Z] > git --version # 'git version 2.25.1'
16:27:12 [2022-04-07T14:27:12.180Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/Jenkins-Pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
16:27:13 [2022-04-07T14:27:13.720Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
16:27:13 [2022-04-07T14:27:13.727Z] Checking out Revision 66693f2e154a726ed0fad645cd277d018fd907ca (refs/remotes/origin/master)
16:27:13 [2022-04-07T14:27:13.728Z] > /usr/bin/git config core.sparsecheckout # timeout=10
16:27:13 [2022-04-07T14:27:13.734Z] > /usr/bin/git checkout -f 66693f2e154a726ed0fad645cd277d018fd907ca # timeout=10
16:27:13 [2022-04-07T14:27:13.749Z] Commit message: "Fix a bug in the release pipeline of Silverpeas Fix a bug in the Silverpea doc publishing pipeline Fix a bug in the izPack installer generator pipeline Fix a bug in the pipeline of updating the Dockerfile to generate a Docker image of Silverpeas for the production. Fix a bug in the pipeline buidling a Docker image of Silverpeas for testing purpose."
16:27:13 [2022-04-07T14:27:13.750Z] > /usr/bin/git rev-list --no-walk de3c1ff23da4cb9d3af9fc961f5ced102ac24312 # timeout=10
16:27:13 [2022-04-07T14:27:13.770Z] [Pipeline] }
16:27:13 [2022-04-07T14:27:13.773Z] [Pipeline] // stage
16:27:13 [2022-04-07T14:27:13.785Z] [Pipeline] withEnv
16:27:13 [2022-04-07T14:27:13.785Z] [Pipeline] {
16:27:13 [2022-04-07T14:27:13.807Z] [Pipeline] withEnv
16:27:13 [2022-04-07T14:27:13.807Z] [Pipeline] {
16:27:13 [2022-04-07T14:27:13.816Z] [Pipeline] stage
16:27:13 [2022-04-07T14:27:13.816Z] [Pipeline] { (Check the Docker image version to build)
16:27:13 [2022-04-07T14:27:13.846Z] Stage "Check the Docker image version to build" skipped due to when conditional
16:27:13 [2022-04-07T14:27:13.846Z] [Pipeline] }
16:27:13 [2022-04-07T14:27:13.849Z] [Pipeline] // stage
16:27:13 [2022-04-07T14:27:13.856Z] [Pipeline] stage
16:27:13 [2022-04-07T14:27:13.856Z] [Pipeline] { (Prepare the project)
16:27:13 [2022-04-07T14:27:13.874Z] [Pipeline] dir
16:27:13 [2022-04-07T14:27:13.874Z] Running in /var/lib/jenkins/workspace/Silverpeas Prod Image/docker-silverpeas-prod
16:27:13 [2022-04-07T14:27:13.874Z] [Pipeline] {
16:27:13 [2022-04-07T14:27:13.882Z] [Pipeline] git
16:27:13 [2022-04-07T14:27:13.884Z] The recommended git tool is: NONE
16:27:13 [2022-04-07T14:27:13.885Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59
16:27:13 [2022-04-07T14:27:13.890Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Prod Image/docker-silverpeas-prod/.git # timeout=10
16:27:13 [2022-04-07T14:27:13.897Z] Fetching changes from the remote Git repository
16:27:13 [2022-04-07T14:27:13.897Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/docker-silverpeas-prod # timeout=10
16:27:13 [2022-04-07T14:27:13.902Z] Fetching upstream changes from https://github.com/Silverpeas/docker-silverpeas-prod
16:27:13 [2022-04-07T14:27:13.902Z] > /usr/bin/git --version # timeout=10
16:27:13 [2022-04-07T14:27:13.908Z] > git --version # 'git version 2.25.1'
16:27:13 [2022-04-07T14:27:13.908Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins
16:27:13 [2022-04-07T14:27:13.909Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/docker-silverpeas-prod +refs/heads/*:refs/remotes/origin/* # timeout=10
16:27:15 [2022-04-07T14:27:15.665Z] > /usr/bin/git rev-parse refs/remotes/origin/6.2.x^{commit} # timeout=10
16:27:15 [2022-04-07T14:27:15.673Z] Checking out Revision 8d4b0958a055d1de631a071e6ba37d4da7b9185a (refs/remotes/origin/6.2.x)
16:27:15 [2022-04-07T14:27:15.673Z] > /usr/bin/git config core.sparsecheckout # timeout=10
16:27:15 [2022-04-07T14:27:15.677Z] > /usr/bin/git checkout -f 8d4b0958a055d1de631a071e6ba37d4da7b9185a # timeout=10
16:27:15 [2022-04-07T14:27:15.687Z] > /usr/bin/git branch -a -v --no-abbrev # timeout=10
16:27:15 [2022-04-07T14:27:15.697Z] > /usr/bin/git branch -D 6.2.x # timeout=10
16:27:15 [2022-04-07T14:27:15.705Z] > /usr/bin/git checkout -b 6.2.x 8d4b0958a055d1de631a071e6ba37d4da7b9185a # timeout=10
16:27:15 [2022-04-07T14:27:15.717Z] Commit message: "update the key server host"
16:27:15 [2022-04-07T14:27:15.717Z] > /usr/bin/git rev-list --no-walk 7ce79387fc86ec269d03230be75a6637f18fa9c8 # timeout=10
16:27:15 [2022-04-07T14:27:15.736Z] [Pipeline] script
16:27:15 [2022-04-07T14:27:15.738Z] [Pipeline] {
16:27:15 [2022-04-07T14:27:15.748Z] [Pipeline] sh
16:27:16 [2022-04-07T14:27:16.004Z] + curl -fsSL -o pom-silverpeas.xml https://www.silverpeas.org/nexus/content/repositories/silverpeas/org/silverpeas/silverpeas-assembly/6.2.3/silverpeas-assembly-6.2.3.pom
16:27:16 [2022-04-07T14:27:16.006Z] [Pipeline] sh
16:27:16 [2022-04-07T14:27:16.263Z] + grep -oP (?<=SILVERPEAS_VERSION=)[0-9.]+ Dockerfile
16:27:16 [2022-04-07T14:27:16.265Z] [Pipeline] sh
16:27:16 [2022-04-07T14:27:16.522Z] + rm -f pom-silverpeas.xml
16:27:16 [2022-04-07T14:27:16.523Z] [Pipeline] }
16:27:16 [2022-04-07T14:27:16.539Z] [Pipeline] // script
16:27:16 [2022-04-07T14:27:16.546Z] [Pipeline] }
16:27:16 [2022-04-07T14:27:16.552Z] [Pipeline] // dir
16:27:16 [2022-04-07T14:27:16.559Z] [Pipeline] }
16:27:16 [2022-04-07T14:27:16.565Z] [Pipeline] // stage
16:27:16 [2022-04-07T14:27:16.571Z] [Pipeline] stage
16:27:16 [2022-04-07T14:27:16.572Z] [Pipeline] { (Check Silverpeas version is new one)
16:27:16 [2022-04-07T14:27:16.586Z] Stage "Check Silverpeas version is new one" skipped due to when conditional
16:27:16 [2022-04-07T14:27:16.586Z] [Pipeline] }
16:27:16 [2022-04-07T14:27:16.590Z] [Pipeline] // stage
16:27:16 [2022-04-07T14:27:16.595Z] [Pipeline] stage
16:27:16 [2022-04-07T14:27:16.595Z] [Pipeline] { (Update Dockerfile for new version)
16:27:16 [2022-04-07T14:27:16.610Z] [Pipeline] withCredentials
16:27:16 [2022-04-07T14:27:16.625Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW
16:27:16 [2022-04-07T14:27:16.626Z] [Pipeline] {
16:27:16 [2022-04-07T14:27:16.639Z] [Pipeline] dir
16:27:16 [2022-04-07T14:27:16.639Z] Running in /var/lib/jenkins/workspace/Silverpeas Prod Image/docker-silverpeas-prod
16:27:16 [2022-04-07T14:27:16.640Z] [Pipeline] {
16:27:16 [2022-04-07T14:27:16.645Z] [Pipeline] sh
16:27:16 [2022-04-07T14:27:16.900Z] + git config --local credential.helper !f() { echo username=${GIT_AUTH_USR}; echo password=$GIT_AUTH_PSW; }; f
16:27:16 [2022-04-07T14:27:16.909Z] [Pipeline] sh
16:27:17 [2022-04-07T14:27:17.165Z] + ./generate-dockerfile.sh 6.2.3 20.0.1
16:27:17 [2022-04-07T14:27:17.165Z] + git commit -am Generate Dockerfile for Silverpeas 6.2.3
16:27:17 [2022-04-07T14:27:17.165Z] [6.2.x c0cfd15] Generate Dockerfile for Silverpeas 6.2.3
16:27:17 [2022-04-07T14:27:17.165Z] 1 file changed, 3 insertions(+), 3 deletions(-)
16:27:17 [2022-04-07T14:27:17.165Z] + git tag 6.2.3
16:27:17 [2022-04-07T14:27:17.165Z] + git push origin HEAD:6.2.x
16:27:21 [2022-04-07T14:27:21.289Z] To https://github.com/Silverpeas/docker-silverpeas-prod
16:27:21 [2022-04-07T14:27:21.289Z] 8d4b095..c0cfd15 HEAD -> 6.2.x
16:27:21 [2022-04-07T14:27:21.289Z] + git push origin --tags
16:27:22 [2022-04-07T14:27:22.200Z] To https://github.com/Silverpeas/docker-silverpeas-prod
16:27:22 [2022-04-07T14:27:22.200Z] * [new tag] 6.2.3 -> 6.2.3
16:27:22 [2022-04-07T14:27:22.200Z] + ./generate-docker-library.sh
16:27:22 [2022-04-07T14:27:22.202Z] [Pipeline] }
16:27:22 [2022-04-07T14:27:22.210Z] [Pipeline] // dir
16:27:22 [2022-04-07T14:27:22.216Z] [Pipeline] }
16:27:22 [2022-04-07T14:27:22.223Z] [Pipeline] // withCredentials
16:27:22 [2022-04-07T14:27:22.227Z] [Pipeline] }
16:27:22 [2022-04-07T14:27:22.232Z] [Pipeline] // stage
16:27:22 [2022-04-07T14:27:22.238Z] [Pipeline] stage
16:27:22 [2022-04-07T14:27:22.238Z] [Pipeline] { (Create new stable branch)
16:27:22 [2022-04-07T14:27:22.254Z] Stage "Create new stable branch" skipped due to when conditional
16:27:22 [2022-04-07T14:27:22.254Z] [Pipeline] }
16:27:22 [2022-04-07T14:27:22.258Z] [Pipeline] // stage
16:27:22 [2022-04-07T14:27:22.264Z] [Pipeline] stage
16:27:22 [2022-04-07T14:27:22.265Z] [Pipeline] { (Update official Docker images library)
16:27:22 [2022-04-07T14:27:22.278Z] [Pipeline] withCredentials
16:27:22 [2022-04-07T14:27:22.289Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW
16:27:22 [2022-04-07T14:27:22.290Z] [Pipeline] {
16:27:22 [2022-04-07T14:27:22.302Z] [Pipeline] dir
16:27:22 [2022-04-07T14:27:22.302Z] Running in /var/lib/jenkins/workspace/Silverpeas Prod Image/official-images
16:27:22 [2022-04-07T14:27:22.303Z] [Pipeline] {
16:27:22 [2022-04-07T14:27:22.310Z] [Pipeline] git
16:27:22 [2022-04-07T14:27:22.311Z] The recommended git tool is: NONE
16:27:22 [2022-04-07T14:27:22.312Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59
16:27:22 [2022-04-07T14:27:22.315Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Prod Image/official-images/.git # timeout=10
16:27:22 [2022-04-07T14:27:22.322Z] Fetching changes from the remote Git repository
16:27:22 [2022-04-07T14:27:22.322Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/official-images # timeout=10
16:27:22 [2022-04-07T14:27:22.327Z] Fetching upstream changes from https://github.com/Silverpeas/official-images
16:27:22 [2022-04-07T14:27:22.327Z] > /usr/bin/git --version # timeout=10
16:27:22 [2022-04-07T14:27:22.333Z] > git --version # 'git version 2.25.1'
16:27:22 [2022-04-07T14:27:22.333Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins
16:27:22 [2022-04-07T14:27:22.336Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/official-images +refs/heads/*:refs/remotes/origin/* # timeout=10
16:27:22 [2022-04-07T14:27:22.618Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
16:27:22 [2022-04-07T14:27:22.625Z] Checking out Revision acb2541a27a914019720fd4eb4cdfe341ea8f5f0 (refs/remotes/origin/master)
16:27:22 [2022-04-07T14:27:22.625Z] > /usr/bin/git config core.sparsecheckout # timeout=10
16:27:22 [2022-04-07T14:27:22.632Z] > /usr/bin/git checkout -f acb2541a27a914019720fd4eb4cdfe341ea8f5f0 # timeout=10
16:27:22 [2022-04-07T14:27:22.646Z] > /usr/bin/git branch -a -v --no-abbrev # timeout=10
16:27:22 [2022-04-07T14:27:22.657Z] > /usr/bin/git branch -D master # timeout=10
16:27:22 [2022-04-07T14:27:22.665Z] > /usr/bin/git checkout -b master acb2541a27a914019720fd4eb4cdfe341ea8f5f0 # timeout=10
16:27:22 [2022-04-07T14:27:22.679Z] Commit message: "Add a new emqx image (#10882)"
16:27:22 [2022-04-07T14:27:22.680Z] > /usr/bin/git rev-list --no-walk acb2541a27a914019720fd4eb4cdfe341ea8f5f0 # timeout=10
16:27:22 [2022-04-07T14:27:22.700Z] [Pipeline] sh
16:27:22 [2022-04-07T14:27:22.955Z] + git config --local credential.helper !f() { echo username=${GIT_AUTH_USR}; echo password=$GIT_AUTH_PSW; }; f
16:27:22 [2022-04-07T14:27:22.958Z] [Pipeline] sh
16:27:23 [2022-04-07T14:27:23.215Z] + git remote add docker https://github.com/docker-library/official-images.git
16:27:23 [2022-04-07T14:27:23.215Z] fatal: la distante docker existe déjà.
16:27:23 [2022-04-07T14:27:23.222Z] [Pipeline] sh
16:27:23 [2022-04-07T14:27:23.478Z] + git pull docker master
16:27:24 [2022-04-07T14:27:24.823Z] Depuis https://github.com/docker-library/official-images
16:27:24 [2022-04-07T14:27:24.823Z] * branch master -> FETCH_HEAD
16:27:24 [2022-04-07T14:27:24.823Z] Déjà à jour.
16:27:24 [2022-04-07T14:27:24.823Z] + git push origin HEAD:master
16:27:32 [2022-04-07T14:27:32.848Z] Everything up-to-date
16:27:32 [2022-04-07T14:27:32.848Z] + git checkout -b silverpeas-6.2.3
16:27:32 [2022-04-07T14:27:32.848Z] Basculement sur la nouvelle branche 'silverpeas-6.2.3'
16:27:32 [2022-04-07T14:27:32.848Z] + cp /var/lib/jenkins/workspace/Silverpeas Prod Image/silverpeas library/
16:27:32 [2022-04-07T14:27:32.848Z] + git commit -am Update Docker image for Silverpeas version 6.2.3
16:27:32 [2022-04-07T14:27:32.848Z] [silverpeas-6.2.3 ab72528f3] Update Docker image for Silverpeas version 6.2.3
16:27:32 [2022-04-07T14:27:32.848Z] 1 file changed, 2 insertions(+), 8 deletions(-)
16:27:32 [2022-04-07T14:27:32.848Z] + git push origin silverpeas-6.2.3
16:27:40 [2022-04-07T14:27:40.873Z] remote:
16:27:40 [2022-04-07T14:27:40.873Z] remote: Create a pull request for 'silverpeas-6.2.3' on GitHub by visiting:
16:27:40 [2022-04-07T14:27:40.873Z] remote: https://github.com/Silverpeas/official-images/pull/new/silverpeas-6.2.3
16:27:40 [2022-04-07T14:27:40.873Z] remote:
16:27:40 [2022-04-07T14:27:40.873Z] To https://github.com/Silverpeas/official-images
16:27:40 [2022-04-07T14:27:40.873Z] * [new branch] silverpeas-6.2.3 -> silverpeas-6.2.3
16:27:40 [2022-04-07T14:27:40.874Z] [Pipeline] }
16:27:40 [2022-04-07T14:27:40.886Z] [Pipeline] // dir
16:27:40 [2022-04-07T14:27:40.894Z] [Pipeline] }
16:27:40 [2022-04-07T14:27:40.900Z] [Pipeline] // withCredentials
16:27:40 [2022-04-07T14:27:40.905Z] [Pipeline] }
16:27:40 [2022-04-07T14:27:40.909Z] [Pipeline] // stage
16:27:40 [2022-04-07T14:27:40.915Z] [Pipeline] stage
16:27:40 [2022-04-07T14:27:40.916Z] [Pipeline] { (Declarative: Post Actions)
16:27:40 [2022-04-07T14:27:40.924Z] [Pipeline] step
16:27:40 [2022-04-07T14:27:40.934Z] [Pipeline] script
16:27:40 [2022-04-07T14:27:40.937Z] [Pipeline] {
16:27:40 [2022-04-07T14:27:40.948Z] [Pipeline] emailext
16:27:40 [2022-04-07T14:27:40.954Z] Sending email to: miguel.moquillon@silverpeas.org yohann.chastagnier@silverpeas.org
16:27:41 [2022-04-07T14:27:41.061Z] [Pipeline] }
16:27:41 [2022-04-07T14:27:41.068Z] [Pipeline] // script
16:27:41 [2022-04-07T14:27:41.078Z] [Pipeline] }
16:27:41 [2022-04-07T14:27:41.082Z] [Pipeline] // stage
16:27:41 [2022-04-07T14:27:41.086Z] [Pipeline] }
16:27:41 [2022-04-07T14:27:41.090Z] [Pipeline] // withEnv
16:27:41 [2022-04-07T14:27:41.094Z] [Pipeline] }
16:27:41 [2022-04-07T14:27:41.098Z] [Pipeline] // withEnv
16:27:41 [2022-04-07T14:27:41.103Z] [Pipeline] }
16:27:41 [2022-04-07T14:27:41.112Z] [Pipeline] // node
16:27:41 [2022-04-07T14:27:41.118Z] [Pipeline] End of Pipeline
16:27:41 [2022-04-07T14:27:41.145Z] Finished: SUCCESS