[2022-04-08T16:32:06.333Z] Démarré par l'utilisateur Miguel Moquillon [2022-04-08T16:32:06.333Z] Running as userbuild [2022-04-08T16:32:06.749Z] Obtained src/releases/docker-prod/Jenkinsfile from git https://github.com/Silverpeas/Jenkins-Pipelines.git [2022-04-08T16:32:06.839Z] [Pipeline] Start of Pipeline [2022-04-08T16:32:06.971Z] [Pipeline] node [2022-04-08T16:32:06.975Z] Running on Jenkins in /var/lib/jenkins/workspace/Silverpeas Prod Image [2022-04-08T16:32:06.976Z] [Pipeline] { [2022-04-08T16:32:06.986Z] [Pipeline] stage [2022-04-08T16:32:06.986Z] [Pipeline] { (Declarative: Checkout SCM) [2022-04-08T16:32:06.991Z] [Pipeline] checkout [2022-04-08T16:32:06.992Z] Selected Git installation does not exist. Using Default [2022-04-08T16:32:06.992Z] The recommended git tool is: NONE [2022-04-08T16:32:06.993Z] No credentials specified [2022-04-08T16:32:06.993Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Prod Image/.git # timeout=10 [2022-04-08T16:32:06.999Z] Fetching changes from the remote Git repository [2022-04-08T16:32:06.999Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/Jenkins-Pipelines.git # timeout=10 [2022-04-08T16:32:07.007Z] Fetching upstream changes from https://github.com/Silverpeas/Jenkins-Pipelines.git [2022-04-08T16:32:07.007Z] > /usr/bin/git --version # timeout=10 [2022-04-08T16:32:07.013Z] > git --version # 'git version 2.25.1' [2022-04-08T16:32:07.013Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/Jenkins-Pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T16:32:07.611Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 [2022-04-08T16:32:07.618Z] Checking out Revision 7b92f2131179a8167e92677c8293609f8040352d (refs/remotes/origin/master) [2022-04-08T16:32:07.618Z] > /usr/bin/git config core.sparsecheckout # timeout=10 [2022-04-08T16:32:07.624Z] > /usr/bin/git checkout -f 7b92f2131179a8167e92677c8293609f8040352d # timeout=10 [2022-04-08T16:32:07.638Z] Commit message: "Update the Jenkinsfile that builds a Docker image of Silverpeas for pro. Now, the pipeline will perform a PR by using the Github API. It checks also if the build is just an update of an existing version of Silverpeas" [2022-04-08T16:32:07.638Z] > /usr/bin/git rev-list --no-walk 66693f2e154a726ed0fad645cd277d018fd907ca # timeout=10 [2022-04-08T16:32:07.654Z] [Pipeline] } [2022-04-08T16:32:07.661Z] [Pipeline] // stage [2022-04-08T16:32:07.674Z] [Pipeline] withEnv [2022-04-08T16:32:07.674Z] [Pipeline] { [2022-04-08T16:32:07.698Z] [Pipeline] withEnv [2022-04-08T16:32:07.698Z] [Pipeline] { [2022-04-08T16:32:07.708Z] [Pipeline] stage [2022-04-08T16:32:07.708Z] [Pipeline] { (Check the Docker image version to build) [2022-04-08T16:32:07.737Z] Stage "Check the Docker image version to build" skipped due to when conditional [2022-04-08T16:32:07.738Z] [Pipeline] } [2022-04-08T16:32:07.741Z] [Pipeline] // stage [2022-04-08T16:32:07.749Z] [Pipeline] stage [2022-04-08T16:32:07.750Z] [Pipeline] { (Prepare the project) [2022-04-08T16:32:07.767Z] [Pipeline] dir [2022-04-08T16:32:07.767Z] Running in /var/lib/jenkins/workspace/Silverpeas Prod Image/docker-silverpeas-prod [2022-04-08T16:32:07.768Z] [Pipeline] { [2022-04-08T16:32:07.775Z] [Pipeline] git [2022-04-08T16:32:07.776Z] The recommended git tool is: NONE [2022-04-08T16:32:07.777Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59 [2022-04-08T16:32:07.784Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Prod Image/docker-silverpeas-prod/.git # timeout=10 [2022-04-08T16:32:07.790Z] Fetching changes from the remote Git repository [2022-04-08T16:32:07.790Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/docker-silverpeas-prod # timeout=10 [2022-04-08T16:32:07.796Z] Fetching upstream changes from https://github.com/Silverpeas/docker-silverpeas-prod [2022-04-08T16:32:07.796Z] > /usr/bin/git --version # timeout=10 [2022-04-08T16:32:07.800Z] > git --version # 'git version 2.25.1' [2022-04-08T16:32:07.801Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins [2022-04-08T16:32:07.802Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/docker-silverpeas-prod +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T16:32:08.029Z] > /usr/bin/git rev-parse refs/remotes/origin/6.2.x^{commit} # timeout=10 [2022-04-08T16:32:08.035Z] Checking out Revision 02e367644b7e9306dc818ee1224f7e1005b41998 (refs/remotes/origin/6.2.x) [2022-04-08T16:32:08.035Z] > /usr/bin/git config core.sparsecheckout # timeout=10 [2022-04-08T16:32:08.041Z] > /usr/bin/git checkout -f 02e367644b7e9306dc818ee1224f7e1005b41998 # timeout=10 [2022-04-08T16:32:08.049Z] > /usr/bin/git branch -a -v --no-abbrev # timeout=10 [2022-04-08T16:32:08.059Z] > /usr/bin/git branch -D 6.2.x # timeout=10 [2022-04-08T16:32:08.067Z] > /usr/bin/git checkout -b 6.2.x 02e367644b7e9306dc818ee1224f7e1005b41998 # timeout=10 [2022-04-08T16:32:08.079Z] Commit message: "update the key server host" [2022-04-08T16:32:08.079Z] > /usr/bin/git rev-list --no-walk 8d4b0958a055d1de631a071e6ba37d4da7b9185a # timeout=10 [2022-04-08T16:32:08.104Z] [Pipeline] script [2022-04-08T16:32:08.108Z] [Pipeline] { [2022-04-08T16:32:08.120Z] [Pipeline] sh [2022-04-08T16:32:08.375Z] + 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 [2022-04-08T16:32:08.628Z] [Pipeline] sh [2022-04-08T16:32:08.885Z] + grep -oP (?<=SILVERPEAS_VERSION=)[0-9.]+ Dockerfile [2022-04-08T16:32:08.887Z] [Pipeline] sh [2022-04-08T16:32:09.144Z] + rm -f pom-silverpeas.xml [2022-04-08T16:32:09.145Z] [Pipeline] } [2022-04-08T16:32:09.156Z] [Pipeline] // script [2022-04-08T16:32:09.164Z] [Pipeline] } [2022-04-08T16:32:09.169Z] [Pipeline] // dir [2022-04-08T16:32:09.174Z] [Pipeline] } [2022-04-08T16:32:09.179Z] [Pipeline] // stage [2022-04-08T16:32:09.186Z] [Pipeline] stage [2022-04-08T16:32:09.186Z] [Pipeline] { (Check Silverpeas version is new one) [2022-04-08T16:32:09.201Z] Stage "Check Silverpeas version is new one" skipped due to when conditional [2022-04-08T16:32:09.201Z] [Pipeline] } [2022-04-08T16:32:09.205Z] [Pipeline] // stage [2022-04-08T16:32:09.211Z] [Pipeline] stage [2022-04-08T16:32:09.211Z] [Pipeline] { (Update Dockerfile for new version) [2022-04-08T16:32:09.226Z] [Pipeline] withCredentials [2022-04-08T16:32:09.244Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW [2022-04-08T16:32:09.245Z] [Pipeline] { [2022-04-08T16:32:09.259Z] [Pipeline] dir [2022-04-08T16:32:09.259Z] Running in /var/lib/jenkins/workspace/Silverpeas Prod Image/docker-silverpeas-prod [2022-04-08T16:32:09.260Z] [Pipeline] { [2022-04-08T16:32:09.266Z] [Pipeline] sh [2022-04-08T16:32:09.521Z] + git config --local credential.helper !f() { echo username=${GIT_AUTH_USR}; echo password=$GIT_AUTH_PSW; }; f [2022-04-08T16:32:09.524Z] [Pipeline] script [2022-04-08T16:32:09.527Z] [Pipeline] { [2022-04-08T16:32:09.540Z] [Pipeline] sh [2022-04-08T16:32:09.795Z] + git rev-parse 6.2.3 [2022-04-08T16:32:09.799Z] [Pipeline] sh [2022-04-08T16:32:10.056Z] + git tag -d 6.2.3 [2022-04-08T16:32:10.057Z] Étiquette '6.2.3' supprimée (elle était sur c0cfd15) [2022-04-08T16:32:10.057Z] + git push origin :6.2.3 [2022-04-08T16:32:10.308Z] error: suppression de '6.2.3' impossible : la référence distante n'existe pas [2022-04-08T16:32:10.308Z] error: impossible de pousser des références vers 'https://github.com/Silverpeas/docker-silverpeas-prod' [2022-04-08T16:32:10.309Z] [Pipeline] } [2022-04-08T16:32:10.319Z] [Pipeline] // script [2022-04-08T16:32:10.334Z] [Pipeline] sh [2022-04-08T16:32:10.590Z] + ./generate-dockerfile.sh 6.2.3 20.0.1 [2022-04-08T16:32:10.590Z] + git commit -am Generate Dockerfile for Silverpeas 6.2.3 [2022-04-08T16:32:10.590Z] [6.2.x 899560a] Generate Dockerfile for Silverpeas 6.2.3 [2022-04-08T16:32:10.590Z] 1 file changed, 2 insertions(+), 2 deletions(-) [2022-04-08T16:32:10.590Z] + git tag 6.2.3 [2022-04-08T16:32:10.590Z] + git push origin HEAD:6.2.x [2022-04-08T16:32:11.502Z] To https://github.com/Silverpeas/docker-silverpeas-prod [2022-04-08T16:32:11.502Z] 02e3676..899560a HEAD -> 6.2.x [2022-04-08T16:32:11.502Z] + git push origin --tags [2022-04-08T16:32:12.414Z] To https://github.com/Silverpeas/docker-silverpeas-prod [2022-04-08T16:32:12.414Z] * [new tag] 6.2.3 -> 6.2.3 [2022-04-08T16:32:12.414Z] + ./generate-docker-library.sh [2022-04-08T16:32:12.665Z] [Pipeline] } [2022-04-08T16:32:12.673Z] [Pipeline] // dir [2022-04-08T16:32:12.680Z] [Pipeline] } [2022-04-08T16:32:12.685Z] [Pipeline] // withCredentials [2022-04-08T16:32:12.691Z] [Pipeline] } [2022-04-08T16:32:12.696Z] [Pipeline] // stage [2022-04-08T16:32:12.703Z] [Pipeline] stage [2022-04-08T16:32:12.703Z] [Pipeline] { (Create new stable branch) [2022-04-08T16:32:12.721Z] Stage "Create new stable branch" skipped due to when conditional [2022-04-08T16:32:12.721Z] [Pipeline] } [2022-04-08T16:32:12.726Z] [Pipeline] // stage [2022-04-08T16:32:12.733Z] [Pipeline] stage [2022-04-08T16:32:12.734Z] [Pipeline] { (Update official Docker images library) [2022-04-08T16:32:12.749Z] [Pipeline] withCredentials [2022-04-08T16:32:12.759Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW [2022-04-08T16:32:12.760Z] [Pipeline] { [2022-04-08T16:32:12.771Z] [Pipeline] dir [2022-04-08T16:32:12.772Z] Running in /var/lib/jenkins/workspace/Silverpeas Prod Image/official-images [2022-04-08T16:32:12.772Z] [Pipeline] { [2022-04-08T16:32:12.779Z] [Pipeline] git [2022-04-08T16:32:12.781Z] The recommended git tool is: NONE [2022-04-08T16:32:12.781Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59 [2022-04-08T16:32:12.786Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Prod Image/official-images/.git # timeout=10 [2022-04-08T16:32:12.793Z] Fetching changes from the remote Git repository [2022-04-08T16:32:12.793Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/official-images # timeout=10 [2022-04-08T16:32:12.800Z] Fetching upstream changes from https://github.com/Silverpeas/official-images [2022-04-08T16:32:12.800Z] > /usr/bin/git --version # timeout=10 [2022-04-08T16:32:12.806Z] > git --version # 'git version 2.25.1' [2022-04-08T16:32:12.807Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins [2022-04-08T16:32:12.808Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/official-images +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T16:32:13.516Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 [2022-04-08T16:32:13.523Z] Checking out Revision acb2541a27a914019720fd4eb4cdfe341ea8f5f0 (refs/remotes/origin/master) [2022-04-08T16:32:13.523Z] > /usr/bin/git config core.sparsecheckout # timeout=10 [2022-04-08T16:32:13.529Z] > /usr/bin/git checkout -f acb2541a27a914019720fd4eb4cdfe341ea8f5f0 # timeout=10 [2022-04-08T16:32:13.542Z] > /usr/bin/git branch -a -v --no-abbrev # timeout=10 [2022-04-08T16:32:13.552Z] > /usr/bin/git branch -D master # timeout=10 [2022-04-08T16:32:13.560Z] > /usr/bin/git checkout -b master acb2541a27a914019720fd4eb4cdfe341ea8f5f0 # timeout=10 [2022-04-08T16:32:13.581Z] Commit message: "Add a new emqx image (#10882)" [2022-04-08T16:32:13.581Z] > /usr/bin/git rev-list --no-walk acb2541a27a914019720fd4eb4cdfe341ea8f5f0 # timeout=10 [2022-04-08T16:32:13.598Z] [Pipeline] sh [2022-04-08T16:32:13.853Z] + git config --local credential.helper !f() { echo username=${GIT_AUTH_USR}; echo password=$GIT_AUTH_PSW; }; f [2022-04-08T16:32:13.856Z] [Pipeline] sh [2022-04-08T16:32:14.113Z] + git remote add docker https://github.com/docker-library/official-images.git [2022-04-08T16:32:14.113Z] fatal: la distante docker existe déjà. [2022-04-08T16:32:14.115Z] [Pipeline] sh [2022-04-08T16:32:14.372Z] + git pull docker master [2022-04-08T16:32:15.284Z] Depuis https://github.com/docker-library/official-images [2022-04-08T16:32:15.284Z] * branch master -> FETCH_HEAD [2022-04-08T16:32:15.284Z] acb2541a2..f1ebbbf9b master -> docker/master [2022-04-08T16:32:15.284Z] Mise à jour acb2541a2..f1ebbbf9b [2022-04-08T16:32:15.284Z] Fast-forward [2022-04-08T16:32:15.284Z] library/arangodb | 6 +++--- [2022-04-08T16:32:15.284Z] library/clojure | 40 ++++++++++++++++++++-------------------- [2022-04-08T16:32:15.284Z] library/influxdb | 35 ++++++++++++----------------------- [2022-04-08T16:32:15.284Z] library/rabbitmq | 12 ++++++------ [2022-04-08T16:32:15.284Z] library/rust | 41 +++++++++++++++++++++-------------------- [2022-04-08T16:32:15.285Z] library/swipl | 6 +++--- [2022-04-08T16:32:15.285Z] library/telegraf | 9 +++++---- [2022-04-08T16:32:15.285Z] 7 files changed, 70 insertions(+), 79 deletions(-) [2022-04-08T16:32:15.285Z] + git push origin HEAD:master [2022-04-08T16:32:16.196Z] To https://github.com/Silverpeas/official-images [2022-04-08T16:32:16.196Z] acb2541a2..f1ebbbf9b HEAD -> master [2022-04-08T16:32:16.198Z] [Pipeline] script [2022-04-08T16:32:16.202Z] [Pipeline] { [2022-04-08T16:32:16.211Z] [Pipeline] sh [2022-04-08T16:32:16.467Z] + git rev-parse silverpeas-6.2.3 [2022-04-08T16:32:16.470Z] [Pipeline] echo [2022-04-08T16:32:16.470Z] The branch silverpeas-6.2.3 already exists. So this is just an update [2022-04-08T16:32:16.475Z] [Pipeline] sh [2022-04-08T16:32:16.732Z] + git checkout silverpeas-6.2.3 [2022-04-08T16:32:16.733Z] Basculement sur la branche 'silverpeas-6.2.3' [2022-04-08T16:32:16.733Z] + cp /var/lib/jenkins/workspace/Silverpeas Prod Image/silverpeas library/ [2022-04-08T16:32:16.733Z] + git commit -a --amend --no-edit [2022-04-08T16:32:16.733Z] [silverpeas-6.2.3 14f883572] Update Docker image for Silverpeas version 6.2.3 [2022-04-08T16:32:16.733Z] Date: Thu Apr 7 16:27:31 2022 +0200 [2022-04-08T16:32:16.733Z] 1 file changed, 2 insertions(+), 6 deletions(-) [2022-04-08T16:32:16.733Z] + git push origin silverpeas-6.2.3 --force-with-lease [2022-04-08T16:32:19.216Z] To https://github.com/Silverpeas/official-images [2022-04-08T16:32:19.216Z] + ee564baf5...14f883572 silverpeas-6.2.3 -> silverpeas-6.2.3 (forced update) [2022-04-08T16:32:19.217Z] [Pipeline] } [2022-04-08T16:32:19.230Z] [Pipeline] // script [2022-04-08T16:32:19.238Z] [Pipeline] } [2022-04-08T16:32:19.244Z] [Pipeline] // dir [2022-04-08T16:32:19.250Z] [Pipeline] } [2022-04-08T16:32:19.256Z] [Pipeline] // withCredentials [2022-04-08T16:32:19.261Z] [Pipeline] } [2022-04-08T16:32:19.266Z] [Pipeline] // stage [2022-04-08T16:32:19.272Z] [Pipeline] stage [2022-04-08T16:32:19.272Z] [Pipeline] { (Open pull request) [2022-04-08T16:32:19.285Z] Stage "Open pull request" skipped due to when conditional [2022-04-08T16:32:19.286Z] [Pipeline] } [2022-04-08T16:32:19.290Z] [Pipeline] // stage [2022-04-08T16:32:19.295Z] [Pipeline] stage [2022-04-08T16:32:19.296Z] [Pipeline] { (Declarative: Post Actions) [2022-04-08T16:32:19.304Z] [Pipeline] step [2022-04-08T16:32:19.315Z] [Pipeline] script [2022-04-08T16:32:19.318Z] [Pipeline] { [2022-04-08T16:32:19.331Z] [Pipeline] emailext [2022-04-08T16:32:19.337Z] Sending email to: miguel.moquillon@silverpeas.org yohann.chastagnier@silverpeas.org [2022-04-08T16:32:19.400Z] [Pipeline] } [2022-04-08T16:32:19.406Z] [Pipeline] // script [2022-04-08T16:32:19.415Z] [Pipeline] } [2022-04-08T16:32:19.419Z] [Pipeline] // stage [2022-04-08T16:32:19.423Z] [Pipeline] } [2022-04-08T16:32:19.427Z] [Pipeline] // withEnv [2022-04-08T16:32:19.432Z] [Pipeline] } [2022-04-08T16:32:19.437Z] [Pipeline] // withEnv [2022-04-08T16:32:19.441Z] [Pipeline] } [2022-04-08T16:32:19.450Z] [Pipeline] // node [2022-04-08T16:32:19.455Z] [Pipeline] End of Pipeline [2022-04-08T16:32:19.479Z] Finished: SUCCESS