[2024-02-07T10:34:58.561Z] Démarré par l'utilisateur Miguel Moquillon [2024-02-07T10:34:58.561Z] Running as userbuild [2024-02-07T10:34:59.091Z] Obtained src/releases/docker-build/Jenkinsfile from git https://github.com/Silverpeas/Jenkins-Pipelines.git [2024-02-07T10:34:59.310Z] [Pipeline] Start of Pipeline [2024-02-07T10:34:59.590Z] [Pipeline] node [2024-02-07T10:34:59.594Z] Running on Jenkins in /var/lib/jenkins/workspace/Silverpeas Projects Build Image [2024-02-07T10:34:59.595Z] [Pipeline] { [2024-02-07T10:34:59.611Z] [Pipeline] stage [2024-02-07T10:34:59.612Z] [Pipeline] { (Declarative: Checkout SCM) [2024-02-07T10:34:59.624Z] [Pipeline] checkout [2024-02-07T10:34:59.625Z] Selected Git installation does not exist. Using Default [2024-02-07T10:34:59.625Z] The recommended git tool is: NONE [2024-02-07T10:34:59.625Z] No credentials specified [2024-02-07T10:34:59.625Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10 [2024-02-07T10:34:59.629Z] Fetching changes from the remote Git repository [2024-02-07T10:34:59.631Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/Jenkins-Pipelines.git # timeout=10 [2024-02-07T10:34:59.637Z] Fetching upstream changes from https://github.com/Silverpeas/Jenkins-Pipelines.git [2024-02-07T10:34:59.637Z] > /usr/bin/git --version # timeout=10 [2024-02-07T10:34:59.640Z] > git --version # 'git version 2.34.1' [2024-02-07T10:34:59.640Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/Jenkins-Pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-07T10:35:00.459Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 [2024-02-07T10:35:00.465Z] Checking out Revision 51beae9bbf640af5018d21a044261dafac00a6fe (refs/remotes/origin/master) [2024-02-07T10:35:00.465Z] > /usr/bin/git config core.sparsecheckout # timeout=10 [2024-02-07T10:35:00.469Z] > /usr/bin/git checkout -f 51beae9bbf640af5018d21a044261dafac00a6fe # timeout=10 [2024-02-07T10:35:00.483Z] Commit message: "The Docker image version for Silverpeas 6.3.x is now 6.3.3" [2024-02-07T10:35:00.483Z] > /usr/bin/git rev-list --no-walk 5e31393990e826fcfee35128e9255dfd9f016c63 # timeout=10 [2024-02-07T10:35:00.498Z] [Pipeline] } [2024-02-07T10:35:00.502Z] [Pipeline] // stage [2024-02-07T10:35:00.511Z] [Pipeline] withEnv [2024-02-07T10:35:00.512Z] [Pipeline] { [2024-02-07T10:35:00.525Z] [Pipeline] withEnv [2024-02-07T10:35:00.526Z] [Pipeline] { [2024-02-07T10:35:00.534Z] [Pipeline] stage [2024-02-07T10:35:00.534Z] [Pipeline] { (Check the Docker image version to build) [2024-02-07T10:35:00.574Z] Stage "Check the Docker image version to build" skipped due to when conditional [2024-02-07T10:35:00.575Z] [Pipeline] } [2024-02-07T10:35:00.579Z] [Pipeline] // stage [2024-02-07T10:35:00.589Z] [Pipeline] stage [2024-02-07T10:35:00.590Z] [Pipeline] { (Checkout the project) [2024-02-07T10:35:00.626Z] [Pipeline] git [2024-02-07T10:35:00.628Z] The recommended git tool is: NONE [2024-02-07T10:35:00.629Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59 [2024-02-07T10:35:00.640Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10 [2024-02-07T10:35:00.646Z] Fetching changes from the remote Git repository [2024-02-07T10:35:00.650Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/docker-silverpeas-build # timeout=10 [2024-02-07T10:35:00.655Z] Fetching upstream changes from https://github.com/Silverpeas/docker-silverpeas-build [2024-02-07T10:35:00.655Z] > /usr/bin/git --version # timeout=10 [2024-02-07T10:35:00.659Z] > git --version # 'git version 2.34.1' [2024-02-07T10:35:00.659Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins [2024-02-07T10:35:00.660Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/docker-silverpeas-build +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-07T10:35:01.165Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 [2024-02-07T10:35:01.171Z] Checking out Revision 140c56e4c7295b2aaa147129d3148e1fddc216c5 (refs/remotes/origin/master) [2024-02-07T10:35:01.171Z] > /usr/bin/git config core.sparsecheckout # timeout=10 [2024-02-07T10:35:01.176Z] > /usr/bin/git checkout -f 140c56e4c7295b2aaa147129d3148e1fddc216c5 # timeout=10 [2024-02-07T10:35:01.208Z] > /usr/bin/git branch -a -v --no-abbrev # timeout=10 [2024-02-07T10:35:01.215Z] > /usr/bin/git branch -D master # timeout=10 [2024-02-07T10:35:01.220Z] > /usr/bin/git checkout -b master 140c56e4c7295b2aaa147129d3148e1fddc216c5 # timeout=10 [2024-02-07T10:35:01.272Z] Commit message: "Add the missing env var SONAR_JDK_HOME in Dockerfile" [2024-02-07T10:35:01.272Z] > /usr/bin/git rev-list --no-walk 79835317fa01acf82f56fd2fd5a04fc9cd875603 # timeout=10 [2024-02-07T10:35:01.293Z] [Pipeline] } [2024-02-07T10:35:01.299Z] [Pipeline] // stage [2024-02-07T10:35:01.308Z] [Pipeline] stage [2024-02-07T10:35:01.309Z] [Pipeline] { (Release stable version) [2024-02-07T10:35:01.333Z] Stage "Release stable version" skipped due to when conditional [2024-02-07T10:35:01.334Z] [Pipeline] } [2024-02-07T10:35:01.341Z] [Pipeline] // stage [2024-02-07T10:35:01.347Z] [Pipeline] stage [2024-02-07T10:35:01.348Z] [Pipeline] { (Update current latest version) [2024-02-07T10:35:01.389Z] [Pipeline] withCredentials [2024-02-07T10:35:01.411Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW [2024-02-07T10:35:01.414Z] [Pipeline] { [2024-02-07T10:35:01.433Z] [Pipeline] script [2024-02-07T10:35:01.438Z] [Pipeline] { [2024-02-07T10:35:01.448Z] [Pipeline] sh [2024-02-07T10:35:01.705Z] + grep -oP (?<=build=)\d+ Dockerfile [2024-02-07T10:35:01.714Z] [Pipeline] sh [2024-02-07T10:35:01.972Z] + sed -i -e s/WILDFLY_VERSION=[0-9.]\+/WILDFLY_VERSION=26.1.3/g Dockerfile [2024-02-07T10:35:01.972Z] + sed -i -e s/JAVA_VERSION=[0-9]\+/JAVA_VERSION=11/g Dockerfile [2024-02-07T10:35:01.972Z] + sed -i -e s/SONAR_JAVA_VERSION=[0-9]\+/SONAR_JAVA_VERSION=17/g Dockerfile [2024-02-07T10:35:01.972Z] + sed -i -e s/version=[0-9.]\+/version=latest/g Dockerfile [2024-02-07T10:35:01.972Z] + git diff --quiet [2024-02-07T10:35:01.974Z] [Pipeline] } [2024-02-07T10:35:01.982Z] [Pipeline] // script [2024-02-07T10:35:01.990Z] [Pipeline] } [2024-02-07T10:35:01.996Z] [Pipeline] // withCredentials [2024-02-07T10:35:02.004Z] [Pipeline] } [2024-02-07T10:35:02.011Z] [Pipeline] // stage [2024-02-07T10:35:02.021Z] [Pipeline] stage [2024-02-07T10:35:02.022Z] [Pipeline] { (Publish version) [2024-02-07T10:35:02.055Z] [Pipeline] script [2024-02-07T10:35:02.060Z] [Pipeline] { [2024-02-07T10:35:02.236Z] [Pipeline] isUnix [2024-02-07T10:35:02.245Z] [Pipeline] withEnv [2024-02-07T10:35:02.245Z] [Pipeline] { [2024-02-07T10:35:02.254Z] [Pipeline] sh [2024-02-07T10:35:02.510Z] + docker build -t silverpeas/silverbuild:latest . [2024-02-07T10:35:02.761Z] #0 building with "default" instance using docker driver [2024-02-07T10:35:02.761Z] [2024-02-07T10:35:02.761Z] #1 [internal] load build definition from Dockerfile [2024-02-07T10:35:02.761Z] #1 transferring dockerfile: 5.04kB done [2024-02-07T10:35:02.761Z] #1 DONE 0.0s [2024-02-07T10:35:02.761Z] [2024-02-07T10:35:02.761Z] #2 [internal] load metadata for docker.io/library/ubuntu:jammy [2024-02-07T10:35:02.761Z] #2 DONE 0.0s [2024-02-07T10:35:02.761Z] [2024-02-07T10:35:02.761Z] #3 [internal] load .dockerignore [2024-02-07T10:35:02.761Z] #3 transferring context: 2B done [2024-02-07T10:35:02.761Z] #3 DONE 0.0s [2024-02-07T10:35:02.761Z] [2024-02-07T10:35:02.761Z] #4 [1/5] FROM docker.io/library/ubuntu:jammy [2024-02-07T10:35:02.761Z] #4 DONE 0.0s [2024-02-07T10:35:02.761Z] [2024-02-07T10:35:02.761Z] #5 [internal] load build context [2024-02-07T10:35:02.761Z] #5 transferring context: 4.47MB 0.0s done [2024-02-07T10:35:02.761Z] #5 DONE 0.0s [2024-02-07T10:35:02.761Z] [2024-02-07T10:35:02.761Z] #6 [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.3.Final.FOR-TESTS.zip https://www.silverpeas.org/files/wildfly-26.1.3.Final.FOR-TESTS.zip && mkdir /opt/wildfly-for-tests && unzip /tmp/wildfly-26.1.3.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 [2024-02-07T10:35:02.761Z] #6 CACHED [2024-02-07T10:35:02.761Z] [2024-02-07T10:35:02.761Z] #7 [2/5] COPY src/maven-deps.zip /tmp/ [2024-02-07T10:35:02.761Z] #7 CACHED [2024-02-07T10:35:02.761Z] [2024-02-07T10:35:02.761Z] #8 [4/5] COPY src/settings.xml /home/silverbuild/.m2/ [2024-02-07T10:35:02.761Z] #8 CACHED [2024-02-07T10:35:02.761Z] [2024-02-07T10:35:02.761Z] #9 [5/5] RUN chown -R silverbuild:silverbuild /home/silverbuild && chown -R silverbuild:silverbuild /opt/wildfly-for-tests [2024-02-07T10:35:02.761Z] #9 CACHED [2024-02-07T10:35:02.761Z] [2024-02-07T10:35:02.761Z] #10 exporting to image [2024-02-07T10:35:02.761Z] #10 exporting layers done [2024-02-07T10:35:02.761Z] #10 writing image sha256:be3e4d06ec39da65b83f3f2042b712ccbf1abba9e748dd3251a78c4039962413 done [2024-02-07T10:35:02.761Z] #10 naming to docker.io/silverpeas/silverbuild:latest done [2024-02-07T10:35:02.761Z] #10 DONE 0.0s [2024-02-07T10:35:02.763Z] [Pipeline] } [2024-02-07T10:35:02.769Z] [Pipeline] // withEnv [2024-02-07T10:35:02.798Z] [Pipeline] withEnv [2024-02-07T10:35:02.799Z] [Pipeline] { [2024-02-07T10:35:02.808Z] [Pipeline] withDockerRegistry [2024-02-07T10:35:02.812Z] $ docker login -u mmoqui -p ******** https://index.docker.io/v1/ [2024-02-07T10:35:02.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-07T10:35:03.701Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Silverpeas Projects Build Image@tmp/3fadf97a-6e21-4f49-af8b-b81585b53ec5/config.json. [2024-02-07T10:35:03.701Z] Configure a credential helper to remove this warning. See [2024-02-07T10:35:03.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2024-02-07T10:35:03.701Z] [2024-02-07T10:35:03.701Z] Login Succeeded [2024-02-07T10:35:03.705Z] [Pipeline] { [2024-02-07T10:35:03.718Z] [Pipeline] isUnix [2024-02-07T10:35:03.721Z] [Pipeline] withEnv [2024-02-07T10:35:03.722Z] [Pipeline] { [2024-02-07T10:35:03.729Z] [Pipeline] sh [2024-02-07T10:35:03.985Z] + docker tag silverpeas/silverbuild:latest silverpeas/silverbuild:latest [2024-02-07T10:35:03.987Z] [Pipeline] } [2024-02-07T10:35:03.994Z] [Pipeline] // withEnv [2024-02-07T10:35:04.002Z] [Pipeline] isUnix [2024-02-07T10:35:04.004Z] [Pipeline] withEnv [2024-02-07T10:35:04.005Z] [Pipeline] { [2024-02-07T10:35:04.016Z] [Pipeline] sh [2024-02-07T10:35:04.275Z] + docker push silverpeas/silverbuild:latest [2024-02-07T10:35:04.275Z] The push refers to repository [docker.io/silverpeas/silverbuild] [2024-02-07T10:35:04.525Z] fa4b0e1a6ccc: Preparing [2024-02-07T10:35:04.525Z] 19db70e8e92f: Preparing [2024-02-07T10:35:04.525Z] cfd4286597d7: Preparing [2024-02-07T10:35:04.525Z] 1f3555e43ee3: Preparing [2024-02-07T10:35:04.525Z] 17f623af01e2: Preparing [2024-02-07T10:35:05.076Z] 19db70e8e92f: Layer already exists [2024-02-07T10:35:05.076Z] 17f623af01e2: Layer already exists [2024-02-07T10:35:05.076Z] 1f3555e43ee3: Layer already exists [2024-02-07T10:35:05.327Z] fa4b0e1a6ccc: Layer already exists [2024-02-07T10:35:05.327Z] cfd4286597d7: Layer already exists [2024-02-07T10:35:08.556Z] latest: digest: sha256:47d5cbe6e0b2cc8cc646cef3420c1f6495f059e4829b163084632d9df53ff37a size: 1374 [2024-02-07T10:35:08.558Z] [Pipeline] } [2024-02-07T10:35:08.565Z] [Pipeline] // withEnv [2024-02-07T10:35:08.572Z] [Pipeline] } [2024-02-07T10:35:08.579Z] [Pipeline] // withDockerRegistry [2024-02-07T10:35:08.586Z] [Pipeline] } [2024-02-07T10:35:08.593Z] [Pipeline] // withEnv [2024-02-07T10:35:08.600Z] [Pipeline] } [2024-02-07T10:35:08.606Z] [Pipeline] // script [2024-02-07T10:35:08.614Z] [Pipeline] } [2024-02-07T10:35:08.621Z] [Pipeline] // stage [2024-02-07T10:35:08.631Z] [Pipeline] stage [2024-02-07T10:35:08.632Z] [Pipeline] { (Declarative: Post Actions) [2024-02-07T10:35:08.650Z] [Pipeline] step [2024-02-07T10:35:08.672Z] [Pipeline] script [2024-02-07T10:35:08.679Z] [Pipeline] { [2024-02-07T10:35:08.697Z] [Pipeline] } [2024-02-07T10:35:08.704Z] [Pipeline] // script [2024-02-07T10:35:08.717Z] [Pipeline] } [2024-02-07T10:35:08.725Z] [Pipeline] // stage [2024-02-07T10:35:08.732Z] [Pipeline] } [2024-02-07T10:35:08.739Z] [Pipeline] // withEnv [2024-02-07T10:35:08.746Z] [Pipeline] } [2024-02-07T10:35:08.753Z] [Pipeline] // withEnv [2024-02-07T10:35:08.760Z] [Pipeline] } [2024-02-07T10:35:08.766Z] [Pipeline] // node [2024-02-07T10:35:08.773Z] [Pipeline] End of Pipeline [2024-02-07T10:35:08.801Z] Finished: SUCCESS