SuccèsSortie de la console
11:36:18 [2024-02-07T10:36:18.533Z] Démarré par l'utilisateur Miguel Moquillon
11:36:18 [2024-02-07T10:36:18.533Z] Running as userbuild
11:36:18 [2024-02-07T10:36:18.921Z] Obtained src/releases/docker-build/Jenkinsfile from git https://github.com/Silverpeas/Jenkins-Pipelines.git
11:36:19 [2024-02-07T10:36:19.015Z] [Pipeline] Start of Pipeline
11:36:19 [2024-02-07T10:36:19.206Z] [Pipeline] node
11:36:19 [2024-02-07T10:36:19.210Z] Running on Jenkins in /var/lib/jenkins/workspace/Silverpeas Projects Build Image
11:36:19 [2024-02-07T10:36:19.211Z] [Pipeline] {
11:36:19 [2024-02-07T10:36:19.232Z] [Pipeline] stage
11:36:19 [2024-02-07T10:36:19.232Z] [Pipeline] { (Declarative: Checkout SCM)
11:36:19 [2024-02-07T10:36:19.245Z] [Pipeline] checkout
11:36:19 [2024-02-07T10:36:19.247Z] Selected Git installation does not exist. Using Default
11:36:19 [2024-02-07T10:36:19.247Z] The recommended git tool is: NONE
11:36:19 [2024-02-07T10:36:19.247Z] No credentials specified
11:36:19 [2024-02-07T10:36:19.247Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10
11:36:19 [2024-02-07T10:36:19.251Z] Fetching changes from the remote Git repository
11:36:19 [2024-02-07T10:36:19.253Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/Jenkins-Pipelines.git # timeout=10
11:36:19 [2024-02-07T10:36:19.260Z] Fetching upstream changes from https://github.com/Silverpeas/Jenkins-Pipelines.git
11:36:19 [2024-02-07T10:36:19.260Z] > /usr/bin/git --version # timeout=10
11:36:19 [2024-02-07T10:36:19.265Z] > git --version # 'git version 2.34.1'
11:36:19 [2024-02-07T10:36:19.265Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/Jenkins-Pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
11:36:19 [2024-02-07T10:36:19.630Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
11:36:19 [2024-02-07T10:36:19.635Z] Checking out Revision 51beae9bbf640af5018d21a044261dafac00a6fe (refs/remotes/origin/master)
11:36:19 [2024-02-07T10:36:19.635Z] > /usr/bin/git config core.sparsecheckout # timeout=10
11:36:19 [2024-02-07T10:36:19.639Z] > /usr/bin/git checkout -f 51beae9bbf640af5018d21a044261dafac00a6fe # timeout=10
11:36:19 [2024-02-07T10:36:19.656Z] Commit message: "The Docker image version for Silverpeas 6.3.x is now 6.3.3"
11:36:19 [2024-02-07T10:36:19.656Z] > /usr/bin/git rev-list --no-walk 51beae9bbf640af5018d21a044261dafac00a6fe # timeout=10
11:36:19 [2024-02-07T10:36:19.671Z] [Pipeline] }
11:36:19 [2024-02-07T10:36:19.674Z] [Pipeline] // stage
11:36:19 [2024-02-07T10:36:19.683Z] [Pipeline] withEnv
11:36:19 [2024-02-07T10:36:19.683Z] [Pipeline] {
11:36:19 [2024-02-07T10:36:19.695Z] [Pipeline] withEnv
11:36:19 [2024-02-07T10:36:19.695Z] [Pipeline] {
11:36:19 [2024-02-07T10:36:19.704Z] [Pipeline] stage
11:36:19 [2024-02-07T10:36:19.704Z] [Pipeline] { (Check the Docker image version to build)
11:36:19 [2024-02-07T10:36:19.758Z] Stage "Check the Docker image version to build" skipped due to when conditional
11:36:19 [2024-02-07T10:36:19.759Z] [Pipeline] }
11:36:19 [2024-02-07T10:36:19.765Z] [Pipeline] // stage
11:36:19 [2024-02-07T10:36:19.774Z] [Pipeline] stage
11:36:19 [2024-02-07T10:36:19.775Z] [Pipeline] { (Checkout the project)
11:36:19 [2024-02-07T10:36:19.814Z] [Pipeline] git
11:36:19 [2024-02-07T10:36:19.816Z] The recommended git tool is: NONE
11:36:19 [2024-02-07T10:36:19.817Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59
11:36:19 [2024-02-07T10:36:19.827Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10
11:36:19 [2024-02-07T10:36:19.833Z] Fetching changes from the remote Git repository
11:36:19 [2024-02-07T10:36:19.837Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/docker-silverpeas-build # timeout=10
11:36:19 [2024-02-07T10:36:19.847Z] Fetching upstream changes from https://github.com/Silverpeas/docker-silverpeas-build
11:36:19 [2024-02-07T10:36:19.847Z] > /usr/bin/git --version # timeout=10
11:36:19 [2024-02-07T10:36:19.853Z] > git --version # 'git version 2.34.1'
11:36:19 [2024-02-07T10:36:19.853Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins
11:36:19 [2024-02-07T10:36:19.856Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/docker-silverpeas-build +refs/heads/*:refs/remotes/origin/* # timeout=10
11:36:20 [2024-02-07T10:36:20.233Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
11:36:20 [2024-02-07T10:36:20.241Z] Checking out Revision 140c56e4c7295b2aaa147129d3148e1fddc216c5 (refs/remotes/origin/master)
11:36:20 [2024-02-07T10:36:20.241Z] > /usr/bin/git config core.sparsecheckout # timeout=10
11:36:20 [2024-02-07T10:36:20.246Z] > /usr/bin/git checkout -f 140c56e4c7295b2aaa147129d3148e1fddc216c5 # timeout=10
11:36:20 [2024-02-07T10:36:20.275Z] > /usr/bin/git branch -a -v --no-abbrev # timeout=10
11:36:20 [2024-02-07T10:36:20.281Z] > /usr/bin/git branch -D master # timeout=10
11:36:20 [2024-02-07T10:36:20.288Z] > /usr/bin/git checkout -b master 140c56e4c7295b2aaa147129d3148e1fddc216c5 # timeout=10
11:36:20 [2024-02-07T10:36:20.342Z] Commit message: "Add the missing env var SONAR_JDK_HOME in Dockerfile"
11:36:20 [2024-02-07T10:36:20.342Z] > /usr/bin/git rev-list --no-walk 140c56e4c7295b2aaa147129d3148e1fddc216c5 # timeout=10
11:36:20 [2024-02-07T10:36:20.359Z] [Pipeline] }
11:36:20 [2024-02-07T10:36:20.363Z] [Pipeline] // stage
11:36:20 [2024-02-07T10:36:20.368Z] [Pipeline] stage
11:36:20 [2024-02-07T10:36:20.368Z] [Pipeline] { (Release stable version)
11:36:20 [2024-02-07T10:36:20.387Z] [Pipeline] withCredentials
11:36:20 [2024-02-07T10:36:20.409Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW
11:36:20 [2024-02-07T10:36:20.410Z] [Pipeline] {
11:36:20 [2024-02-07T10:36:20.422Z] [Pipeline] sh
11:36:20 [2024-02-07T10:36:20.682Z] + git config --local credential.helper !f() { echo username=${GIT_AUTH_USR}; echo password=$GIT_AUTH_PSW; }; f
11:36:20 [2024-02-07T10:36:20.692Z] [Pipeline] sh
11:36:20 [2024-02-07T10:36:20.951Z] + sed -i -e s/WILDFLY_VERSION=[0-9.]\+/WILDFLY_VERSION=26.1.1/g Dockerfile
11:36:20 [2024-02-07T10:36:20.951Z] + sed -i -e s/JAVA_VERSION=[0-9]\+/JAVA_VERSION=11/g Dockerfile
11:36:20 [2024-02-07T10:36:20.951Z] + sed -i -e s/SONAR_JAVA_VERSION=[0-9]\+/SONAR_JAVA_VERSION=17/g Dockerfile
11:36:20 [2024-02-07T10:36:20.951Z] + sed -i -e s/version=[0-9.]\+/version=6.3.3/g Dockerfile
11:36:20 [2024-02-07T10:36:20.951Z] + sed -i -e s/build=.\+/build=1/g Dockerfile
11:36:20 [2024-02-07T10:36:20.951Z] + git commit -am Update Dockerfile for building and registering image 6.3.3
11:36:20 [2024-02-07T10:36:20.951Z] [master 8457956] Update Dockerfile for building and registering image 6.3.3
11:36:20 [2024-02-07T10:36:20.952Z] 1 file changed, 2 insertions(+), 2 deletions(-)
11:36:20 [2024-02-07T10:36:20.952Z] + git push origin HEAD:master
11:36:21 [2024-02-07T10:36:21.863Z] To https://github.com/Silverpeas/docker-silverpeas-build
11:36:21 [2024-02-07T10:36:21.863Z] 140c56e..8457956 HEAD -> master
11:36:21 [2024-02-07T10:36:21.863Z] + git tag 6.3.3
11:36:21 [2024-02-07T10:36:21.863Z] + git push origin --tags
11:36:22 [2024-02-07T10:36:22.775Z] To https://github.com/Silverpeas/docker-silverpeas-build
11:36:22 [2024-02-07T10:36:22.775Z] * [new tag] 6.3.3 -> 6.3.3
11:36:22 [2024-02-07T10:36:22.777Z] [Pipeline] }
11:36:22 [2024-02-07T10:36:22.787Z] [Pipeline] // withCredentials
11:36:22 [2024-02-07T10:36:22.813Z] [Pipeline] }
11:36:22 [2024-02-07T10:36:22.821Z] [Pipeline] // stage
11:36:22 [2024-02-07T10:36:22.833Z] [Pipeline] stage
11:36:22 [2024-02-07T10:36:22.834Z] [Pipeline] { (Update current latest version)
11:36:22 [2024-02-07T10:36:22.865Z] Stage "Update current latest version" skipped due to when conditional
11:36:22 [2024-02-07T10:36:22.866Z] [Pipeline] }
11:36:22 [2024-02-07T10:36:22.875Z] [Pipeline] // stage
11:36:22 [2024-02-07T10:36:22.886Z] [Pipeline] stage
11:36:22 [2024-02-07T10:36:22.887Z] [Pipeline] { (Publish version)
11:36:22 [2024-02-07T10:36:22.922Z] [Pipeline] script
11:36:22 [2024-02-07T10:36:22.929Z] [Pipeline] {
11:36:23 [2024-02-07T10:36:23.035Z] [Pipeline] isUnix
11:36:23 [2024-02-07T10:36:23.044Z] [Pipeline] withEnv
11:36:23 [2024-02-07T10:36:23.044Z] [Pipeline] {
11:36:23 [2024-02-07T10:36:23.053Z] [Pipeline] sh
11:36:23 [2024-02-07T10:36:23.310Z] + docker build -t silverpeas/silverbuild:6.3.3 .
11:36:23 [2024-02-07T10:36:23.561Z] #0 building with "default" instance using docker driver
11:36:23 [2024-02-07T10:36:23.561Z]
11:36:23 [2024-02-07T10:36:23.561Z] #1 [internal] load build definition from Dockerfile
11:36:23 [2024-02-07T10:36:23.561Z] #1 transferring dockerfile: 5.04kB done
11:36:23 [2024-02-07T10:36:23.561Z] #1 DONE 0.0s
11:36:23 [2024-02-07T10:36:23.561Z]
11:36:23 [2024-02-07T10:36:23.561Z] #2 [internal] load metadata for docker.io/library/ubuntu:jammy
11:36:23 [2024-02-07T10:36:23.561Z] #2 DONE 0.0s
11:36:23 [2024-02-07T10:36:23.561Z]
11:36:23 [2024-02-07T10:36:23.561Z] #3 [internal] load .dockerignore
11:36:23 [2024-02-07T10:36:23.561Z] #3 transferring context: 2B done
11:36:23 [2024-02-07T10:36:23.561Z] #3 DONE 0.0s
11:36:23 [2024-02-07T10:36:23.561Z]
11:36:23 [2024-02-07T10:36:23.561Z] #4 [1/5] FROM docker.io/library/ubuntu:jammy
11:36:23 [2024-02-07T10:36:23.561Z] #4 DONE 0.0s
11:36:23 [2024-02-07T10:36:23.561Z]
11:36:23 [2024-02-07T10:36:23.561Z] #5 [internal] load build context
11:36:23 [2024-02-07T10:36:23.561Z] #5 transferring context: 4.47MB 0.0s done
11:36:23 [2024-02-07T10:36:23.561Z] #5 DONE 0.0s
11:36:23 [2024-02-07T10:36:23.561Z]
11:36:23 [2024-02-07T10:36:23.561Z] #6 [2/5] COPY src/maven-deps.zip /tmp/
11:36:23 [2024-02-07T10:36:23.561Z] #6 CACHED
11:36:23 [2024-02-07T10:36:23.561Z]
11:36:23 [2024-02-07T10:36:23.561Z] #7 [4/5] COPY src/settings.xml /home/silverbuild/.m2/
11:36:23 [2024-02-07T10:36:23.561Z] #7 CACHED
11:36:23 [2024-02-07T10:36:23.561Z]
11:36:23 [2024-02-07T10:36:23.561Z] #8 [3/5] RUN apt-get update && apt-get install -y --no-install-recommends apt-utils iputils-ping vim curl git openssh-client gnupg locales language-pack-en language-pack-fr tzdata procps net-tools zip unzip openjdk-11-jdk openjdk-17-jdk ffmpeg imagemagick ghostscript libreoffice-writer libreoffice-calc libreoffice-impress gpgv groovy && groupadd -g 119 silverbuild && useradd -u 111 -g 119 -d /home/silverbuild -s /bin/bash -m silverbuild && curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/* && update-ca-certificates -f && mkdir -p /usr/share/maven /usr/share/maven/ref && curl -fsSL -o /tmp/apache-maven.tar.gz https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz && echo "332088670d14fa9ff346e6858ca0acca304666596fec86eea89253bd496d3c90deae2be5091be199f48e09d46cec817c6419d5161fb4ee37871503f472765d00 /tmp/apache-maven.tar.gz" | sha512sum -c - && tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1 && rm -f /tmp/apache-maven.tar.gz && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn && unzip /tmp/maven-deps.zip -d /home/silverbuild/ && curl -fsSL -o /tmp/swftools-bin-0.9.2.zip https://www.silverpeas.org/files/swftools-bin-0.9.2.zip && echo 'd40bd091c84bde2872f2733a3c767b3a686c8e8477a3af3a96ef347cf05c5e43 *swftools-bin-0.9.2.zip' | sha256sum - && unzip /tmp/swftools-bin-0.9.2.zip -d / && curl -fsSL -o /tmp/pdf2json-bin-0.68.zip https://www.silverpeas.org/files/pdf2json-bin-0.68.zip && echo 'eec849cdd75224f9d44c0999ed1fbe8764a773d8ab0cf7fff4bf922ab81c9f84 *pdf2json-bin-0.68.zip' | sha256sum - && unzip /tmp/pdf2json-bin-0.68.zip -d / && curl -fsSL -o /tmp/wildfly-26.1.1.Final.FOR-TESTS.zip https://www.silverpeas.org/files/wildfly-26.1.1.Final.FOR-TESTS.zip && mkdir /opt/wildfly-for-tests && unzip /tmp/wildfly-26.1.1.Final.FOR-TESTS.zip -d /opt/wildfly-for-tests/ && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && echo "fr_FR.UTF-8 UTF-8" >> /etc/locale.gen && echo "de_DE.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen && update-locale LANG=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8 LC_ALL=fr_FR.UTF-8
11:36:23 [2024-02-07T10:36:23.561Z] #8 CACHED
11:36:23 [2024-02-07T10:36:23.561Z]
11:36:23 [2024-02-07T10:36:23.561Z] #9 [5/5] RUN chown -R silverbuild:silverbuild /home/silverbuild && chown -R silverbuild:silverbuild /opt/wildfly-for-tests
11:36:23 [2024-02-07T10:36:23.561Z] #9 CACHED
11:36:23 [2024-02-07T10:36:23.561Z]
11:36:23 [2024-02-07T10:36:23.561Z] #10 exporting to image
11:36:23 [2024-02-07T10:36:23.561Z] #10 exporting layers done
11:36:23 [2024-02-07T10:36:23.561Z] #10 writing image sha256:06b08cf2b8d288d85bbd181344675848fcdc8bbe9ae44e8800b7365b4f0ad397 done
11:36:23 [2024-02-07T10:36:23.561Z] #10 naming to docker.io/silverpeas/silverbuild:6.3.3 done
11:36:23 [2024-02-07T10:36:23.561Z] #10 DONE 0.0s
11:36:23 [2024-02-07T10:36:23.562Z] [Pipeline] }
11:36:23 [2024-02-07T10:36:23.569Z] [Pipeline] // withEnv
11:36:23 [2024-02-07T10:36:23.597Z] [Pipeline] withEnv
11:36:23 [2024-02-07T10:36:23.598Z] [Pipeline] {
11:36:23 [2024-02-07T10:36:23.607Z] [Pipeline] withDockerRegistry
11:36:23 [2024-02-07T10:36:23.610Z] $ docker login -u mmoqui -p ******** https://index.docker.io/v1/
11:36:23 [2024-02-07T10:36:23.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin.
11:36:24 [2024-02-07T10:36:24.497Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Silverpeas Projects Build Image@tmp/79a52b87-1bcc-4017-9b29-038bca44aa03/config.json.
11:36:24 [2024-02-07T10:36:24.497Z] Configure a credential helper to remove this warning. See
11:36:24 [2024-02-07T10:36:24.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store
11:36:24 [2024-02-07T10:36:24.497Z]
11:36:24 [2024-02-07T10:36:24.497Z] Login Succeeded
11:36:24 [2024-02-07T10:36:24.501Z] [Pipeline] {
11:36:24 [2024-02-07T10:36:24.516Z] [Pipeline] isUnix
11:36:24 [2024-02-07T10:36:24.518Z] [Pipeline] withEnv
11:36:24 [2024-02-07T10:36:24.519Z] [Pipeline] {
11:36:24 [2024-02-07T10:36:24.528Z] [Pipeline] sh
11:36:24 [2024-02-07T10:36:24.785Z] + docker tag silverpeas/silverbuild:6.3.3 silverpeas/silverbuild:6.3.3
11:36:24 [2024-02-07T10:36:24.787Z] [Pipeline] }
11:36:24 [2024-02-07T10:36:24.794Z] [Pipeline] // withEnv
11:36:24 [2024-02-07T10:36:24.802Z] [Pipeline] isUnix
11:36:24 [2024-02-07T10:36:24.804Z] [Pipeline] withEnv
11:36:24 [2024-02-07T10:36:24.805Z] [Pipeline] {
11:36:24 [2024-02-07T10:36:24.816Z] [Pipeline] sh
11:36:25 [2024-02-07T10:36:25.075Z] + docker push silverpeas/silverbuild:6.3.3
11:36:25 [2024-02-07T10:36:25.075Z] The push refers to repository [docker.io/silverpeas/silverbuild]
11:36:25 [2024-02-07T10:36:25.326Z] 7e7db77efd52: Preparing
11:36:25 [2024-02-07T10:36:25.326Z] 95bb771b874a: Preparing
11:36:25 [2024-02-07T10:36:25.326Z] 739e70426e64: Preparing
11:36:25 [2024-02-07T10:36:25.326Z] 1f3555e43ee3: Preparing
11:36:25 [2024-02-07T10:36:25.326Z] 17f623af01e2: Preparing
11:36:25 [2024-02-07T10:36:25.877Z] 1f3555e43ee3: Layer already exists
11:36:25 [2024-02-07T10:36:25.877Z] 95bb771b874a: Layer already exists
11:36:25 [2024-02-07T10:36:25.877Z] 17f623af01e2: Layer already exists
11:36:25 [2024-02-07T10:36:25.877Z] 739e70426e64: Layer already exists
11:36:25 [2024-02-07T10:36:25.877Z] 7e7db77efd52: Layer already exists
11:36:30 [2024-02-07T10:36:30.000Z] 6.3.3: digest: sha256:6b1aef4d8f8c07e35cb498b65859303b394f70d7b86dd0c3557f5e2136b5b2d2 size: 1374
11:36:30 [2024-02-07T10:36:30.002Z] [Pipeline] }
11:36:30 [2024-02-07T10:36:30.011Z] [Pipeline] // withEnv
11:36:30 [2024-02-07T10:36:30.018Z] [Pipeline] }
11:36:30 [2024-02-07T10:36:30.025Z] [Pipeline] // withDockerRegistry
11:36:30 [2024-02-07T10:36:30.032Z] [Pipeline] }
11:36:30 [2024-02-07T10:36:30.039Z] [Pipeline] // withEnv
11:36:30 [2024-02-07T10:36:30.045Z] [Pipeline] }
11:36:30 [2024-02-07T10:36:30.052Z] [Pipeline] // script
11:36:30 [2024-02-07T10:36:30.060Z] [Pipeline] }
11:36:30 [2024-02-07T10:36:30.066Z] [Pipeline] // stage
11:36:30 [2024-02-07T10:36:30.077Z] [Pipeline] stage
11:36:30 [2024-02-07T10:36:30.078Z] [Pipeline] { (Declarative: Post Actions)
11:36:30 [2024-02-07T10:36:30.095Z] [Pipeline] step
11:36:30 [2024-02-07T10:36:30.116Z] [Pipeline] script
11:36:30 [2024-02-07T10:36:30.123Z] [Pipeline] {
11:36:30 [2024-02-07T10:36:30.140Z] [Pipeline] }
11:36:30 [2024-02-07T10:36:30.147Z] [Pipeline] // script
11:36:30 [2024-02-07T10:36:30.160Z] [Pipeline] }
11:36:30 [2024-02-07T10:36:30.167Z] [Pipeline] // stage
11:36:30 [2024-02-07T10:36:30.175Z] [Pipeline] }
11:36:30 [2024-02-07T10:36:30.182Z] [Pipeline] // withEnv
11:36:30 [2024-02-07T10:36:30.189Z] [Pipeline] }
11:36:30 [2024-02-07T10:36:30.196Z] [Pipeline] // withEnv
11:36:30 [2024-02-07T10:36:30.203Z] [Pipeline] }
11:36:30 [2024-02-07T10:36:30.210Z] [Pipeline] // node
11:36:30 [2024-02-07T10:36:30.217Z] [Pipeline] End of Pipeline
11:36:30 [2024-02-07T10:36:30.247Z] Finished: SUCCESS