17:53:56 [2026-07-17T15:53:56.769Z] Démarré par l'utilisateur Miguel Moquillon 17:53:56 [2026-07-17T15:53:56.769Z] Running as userbuild 17:53:57 [2026-07-17T15:53:57.244Z] Obtained src/releases/docker-build/Jenkinsfile from git https://github.com/Silverpeas/Jenkins-Pipelines.git 17:53:57 [2026-07-17T15:53:57.893Z] [Pipeline] Start of Pipeline 17:53:58 [2026-07-17T15:53:58.120Z] [Pipeline] node 17:53:58 [2026-07-17T15:53:58.124Z] Running on Jenkins in /var/lib/jenkins/workspace/Silverpeas Projects Build Image 17:53:58 [2026-07-17T15:53:58.125Z] [Pipeline] { 17:53:58 [2026-07-17T15:53:58.145Z] [Pipeline] stage 17:53:58 [2026-07-17T15:53:58.145Z] [Pipeline] { (Declarative: Checkout SCM) 17:53:58 [2026-07-17T15:53:58.153Z] [Pipeline] checkout 17:53:58 [2026-07-17T15:53:58.155Z] Selected Git installation does not exist. Using Default 17:53:58 [2026-07-17T15:53:58.155Z] The recommended git tool is: NONE 17:53:58 [2026-07-17T15:53:58.155Z] No credentials specified 17:53:58 [2026-07-17T15:53:58.155Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10 17:53:58 [2026-07-17T15:53:58.164Z] Fetching changes from the remote Git repository 17:53:58 [2026-07-17T15:53:58.171Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/Jenkins-Pipelines.git # timeout=10 17:53:58 [2026-07-17T15:53:58.177Z] Fetching upstream changes from https://github.com/Silverpeas/Jenkins-Pipelines.git 17:53:58 [2026-07-17T15:53:58.177Z] > /usr/bin/git --version # timeout=10 17:53:58 [2026-07-17T15:53:58.182Z] > git --version # 'git version 2.43.0' 17:53:58 [2026-07-17T15:53:58.182Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/Jenkins-Pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:58 [2026-07-17T15:53:58.570Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 17:53:58 [2026-07-17T15:53:58.576Z] Checking out Revision ee417f2e12a50c898fce7d66542b733c63b400a8 (refs/remotes/origin/master) 17:53:58 [2026-07-17T15:53:58.576Z] > /usr/bin/git config core.sparsecheckout # timeout=10 17:53:58 [2026-07-17T15:53:58.581Z] > /usr/bin/git checkout -f ee417f2e12a50c898fce7d66542b733c63b400a8 # timeout=10 17:53:58 [2026-07-17T15:53:58.604Z] Commit message: "Update pipeline to build a build release of master based upon JEE" 17:53:58 [2026-07-17T15:53:58.605Z] > /usr/bin/git rev-list --no-walk ee417f2e12a50c898fce7d66542b733c63b400a8 # timeout=10 17:53:58 [2026-07-17T15:53:58.629Z] [Pipeline] } 17:53:58 [2026-07-17T15:53:58.633Z] [Pipeline] // stage 17:53:58 [2026-07-17T15:53:58.648Z] [Pipeline] withEnv 17:53:58 [2026-07-17T15:53:58.648Z] [Pipeline] { 17:53:58 [2026-07-17T15:53:58.668Z] [Pipeline] withEnv 17:53:58 [2026-07-17T15:53:58.669Z] [Pipeline] { 17:53:58 [2026-07-17T15:53:58.687Z] [Pipeline] stage 17:53:58 [2026-07-17T15:53:58.688Z] [Pipeline] { (Check the Docker image version to build) 17:53:58 [2026-07-17T15:53:58.755Z] Stage "Check the Docker image version to build" skipped due to when conditional 17:53:58 [2026-07-17T15:53:58.756Z] [Pipeline] getContext 17:53:58 [2026-07-17T15:53:58.758Z] [Pipeline] } 17:53:58 [2026-07-17T15:53:58.764Z] [Pipeline] // stage 17:53:58 [2026-07-17T15:53:58.774Z] [Pipeline] stage 17:53:58 [2026-07-17T15:53:58.774Z] [Pipeline] { (Checkout the project) 17:53:58 [2026-07-17T15:53:58.803Z] [Pipeline] git 17:53:58 [2026-07-17T15:53:58.805Z] The recommended git tool is: NONE 17:53:58 [2026-07-17T15:53:58.806Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59 17:53:58 [2026-07-17T15:53:58.819Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10 17:53:58 [2026-07-17T15:53:58.825Z] Fetching changes from the remote Git repository 17:53:58 [2026-07-17T15:53:58.828Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/docker-silverpeas-build # timeout=10 17:53:58 [2026-07-17T15:53:58.839Z] Fetching upstream changes from https://github.com/Silverpeas/docker-silverpeas-build 17:53:58 [2026-07-17T15:53:58.839Z] > /usr/bin/git --version # timeout=10 17:53:58 [2026-07-17T15:53:58.845Z] > git --version # 'git version 2.43.0' 17:53:58 [2026-07-17T15:53:58.845Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins 17:53:58 [2026-07-17T15:53:58.852Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/docker-silverpeas-build +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:59 [2026-07-17T15:53:59.253Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 17:53:59 [2026-07-17T15:53:59.259Z] Checking out Revision 09adc82aa24ae6cfaeb935aa9e034831d4e4d0d6 (refs/remotes/origin/master) 17:53:59 [2026-07-17T15:53:59.259Z] > /usr/bin/git config core.sparsecheckout # timeout=10 17:53:59 [2026-07-17T15:53:59.264Z] > /usr/bin/git checkout -f 09adc82aa24ae6cfaeb935aa9e034831d4e4d0d6 # timeout=10 17:53:59 [2026-07-17T15:53:59.299Z] > /usr/bin/git branch -a -v --no-abbrev # timeout=10 17:53:59 [2026-07-17T15:53:59.306Z] > /usr/bin/git branch -D master # timeout=10 17:53:59 [2026-07-17T15:53:59.312Z] > /usr/bin/git checkout -b master 09adc82aa24ae6cfaeb935aa9e034831d4e4d0d6 # timeout=10 17:53:59 [2026-07-17T15:53:59.350Z] Commit message: "Now, by default, the image is for building Silverpeas projects with Java 17 and for Wildfly 34.0.1. SonarQube quality analysis will run with Java 21 as Java 17 is now marked as deprecated by SonarQube" 17:53:59 [2026-07-17T15:53:59.350Z] > /usr/bin/git rev-list --no-walk 09adc82aa24ae6cfaeb935aa9e034831d4e4d0d6 # timeout=10 17:53:59 [2026-07-17T15:53:59.373Z] [Pipeline] } 17:53:59 [2026-07-17T15:53:59.377Z] [Pipeline] // stage 17:53:59 [2026-07-17T15:53:59.381Z] [Pipeline] stage 17:53:59 [2026-07-17T15:53:59.382Z] [Pipeline] { (Release stable version) 17:53:59 [2026-07-17T15:53:59.397Z] Stage "Release stable version" skipped due to when conditional 17:53:59 [2026-07-17T15:53:59.398Z] [Pipeline] getContext 17:53:59 [2026-07-17T15:53:59.398Z] [Pipeline] } 17:53:59 [2026-07-17T15:53:59.404Z] [Pipeline] // stage 17:53:59 [2026-07-17T15:53:59.409Z] [Pipeline] stage 17:53:59 [2026-07-17T15:53:59.409Z] [Pipeline] { (Update current latest version) 17:53:59 [2026-07-17T15:53:59.438Z] [Pipeline] withCredentials 17:53:59 [2026-07-17T15:53:59.454Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW 17:53:59 [2026-07-17T15:53:59.457Z] [Pipeline] { 17:53:59 [2026-07-17T15:53:59.470Z] [Pipeline] script 17:53:59 [2026-07-17T15:53:59.477Z] [Pipeline] { 17:53:59 [2026-07-17T15:53:59.486Z] [Pipeline] sh 17:53:59 [2026-07-17T15:53:59.744Z] + grep -oP (?<=build=)\d+ Dockerfile 17:53:59 [2026-07-17T15:53:59.751Z] [Pipeline] sh 17:54:00 [2026-07-17T15:54:00.011Z] + sed -i -e s/WILDFLY_VERSION=[0-9.]\+/WILDFLY_VERSION=34.0.1/g Dockerfile 17:54:00 [2026-07-17T15:54:00.011Z] + sed -i -e s/JAVA_VERSION=[0-9]\+/JAVA_VERSION=17/g Dockerfile 17:54:00 [2026-07-17T15:54:00.011Z] + sed -i -e s/SONAR_JAVA_VERSION=[0-9]\+/SONAR_JAVA_VERSION=21/g Dockerfile 17:54:00 [2026-07-17T15:54:00.011Z] + sed -i -e s/version=[0-9.]\+/version=latest/g Dockerfile 17:54:00 [2026-07-17T15:54:00.011Z] + git diff --quiet 17:54:00 [2026-07-17T15:54:00.013Z] [Pipeline] } 17:54:00 [2026-07-17T15:54:00.019Z] [Pipeline] // script 17:54:00 [2026-07-17T15:54:00.027Z] [Pipeline] } 17:54:00 [2026-07-17T15:54:00.033Z] [Pipeline] // withCredentials 17:54:00 [2026-07-17T15:54:00.040Z] [Pipeline] } 17:54:00 [2026-07-17T15:54:00.047Z] [Pipeline] // stage 17:54:00 [2026-07-17T15:54:00.055Z] [Pipeline] stage 17:54:00 [2026-07-17T15:54:00.056Z] [Pipeline] { (Publish version) 17:54:00 [2026-07-17T15:54:00.076Z] [Pipeline] script 17:54:00 [2026-07-17T15:54:00.080Z] [Pipeline] { 17:54:00 [2026-07-17T15:54:00.194Z] [Pipeline] isUnix 17:54:00 [2026-07-17T15:54:00.202Z] [Pipeline] withEnv 17:54:00 [2026-07-17T15:54:00.202Z] [Pipeline] { 17:54:00 [2026-07-17T15:54:00.210Z] [Pipeline] sh 17:54:00 [2026-07-17T15:54:00.466Z] + docker build -t silverpeas/silverbuild:latest . 17:54:00 [2026-07-17T15:54:00.717Z] #0 building with "default" instance using docker driver 17:54:00 [2026-07-17T15:54:00.717Z] 17:54:00 [2026-07-17T15:54:00.717Z] #1 [internal] load build definition from Dockerfile 17:54:00 [2026-07-17T15:54:00.717Z] #1 transferring dockerfile: 5.36kB done 17:54:00 [2026-07-17T15:54:00.717Z] #1 DONE 0.0s 17:54:00 [2026-07-17T15:54:00.717Z] 17:54:00 [2026-07-17T15:54:00.717Z] #2 [internal] load metadata for docker.io/library/ubuntu:noble 17:54:01 [2026-07-17T15:54:01.268Z] #2 DONE 0.7s 17:54:01 [2026-07-17T15:54:01.518Z] 17:54:01 [2026-07-17T15:54:01.518Z] #3 [internal] load .dockerignore 17:54:01 [2026-07-17T15:54:01.518Z] #3 transferring context: 2B done 17:54:01 [2026-07-17T15:54:01.518Z] #3 DONE 0.0s 17:54:01 [2026-07-17T15:54:01.518Z] 17:54:01 [2026-07-17T15:54:01.518Z] #4 [1/5] FROM docker.io/library/ubuntu:noble@sha256:4fbb8e6a8395de5a7550b33509421a2bafbc0aab6c06ba2cef9ebffbc7092d90 17:54:01 [2026-07-17T15:54:01.518Z] #4 DONE 0.0s 17:54:01 [2026-07-17T15:54:01.518Z] 17:54:01 [2026-07-17T15:54:01.518Z] #5 [internal] load build context 17:54:01 [2026-07-17T15:54:01.518Z] #5 transferring context: 4.47MB 0.1s done 17:54:01 [2026-07-17T15:54:01.518Z] #5 DONE 0.1s 17:54:01 [2026-07-17T15:54:01.518Z] 17:54:01 [2026-07-17T15:54:01.518Z] #6 [4/5] COPY src/settings.xml /home/silverbuild/.m2/ 17:54:01 [2026-07-17T15:54:01.518Z] #6 CACHED 17:54:01 [2026-07-17T15:54:01.518Z] 17:54:01 [2026-07-17T15:54:01.518Z] #7 [2/5] COPY src/maven-deps.zip /tmp/ 17:54:01 [2026-07-17T15:54:01.518Z] #7 CACHED 17:54:01 [2026-07-17T15:54:01.518Z] 17:54:01 [2026-07-17T15:54:01.518Z] #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-17-jdk openjdk-21-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_24.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.9.16/binaries/apache-maven-3.9.16-bin.tar.gz && echo "831a8591fe20c8243b1dbe7d71e3244f31d1665b0804b2e825e38cbbe5ce0cafb8338851f90780735568773e0a6cd07bbec107cda0b896b008b861075358b6f6 /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 - && curl -fsSL -o /tmp/wildfly-34.0.1.Final.FOR-TESTS.zip https://www.silverpeas.org/files/wildfly-34.0.1.Final.FOR-TESTS.zip && mkdir /opt/wildfly-for-tests && unzip /tmp/wildfly-34.0.1.Final.FOR-TESTS.zip -d /opt/wildfly-for-tests/ && 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 / && 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 17:54:01 [2026-07-17T15:54:01.518Z] #8 CACHED 17:54:01 [2026-07-17T15:54:01.518Z] 17:54:01 [2026-07-17T15:54:01.518Z] #9 [5/5] RUN chown -R silverbuild:silverbuild /home/silverbuild && chown -R silverbuild:silverbuild /opt/wildfly-for-tests 17:54:01 [2026-07-17T15:54:01.518Z] #9 CACHED 17:54:01 [2026-07-17T15:54:01.518Z] 17:54:01 [2026-07-17T15:54:01.518Z] #10 exporting to image 17:54:01 [2026-07-17T15:54:01.518Z] #10 exporting layers done 17:54:01 [2026-07-17T15:54:01.518Z] #10 writing image sha256:55d7ef7ebc009a298cb1d0fcfef74e0d6fd9b4c758233264a94b34aca4c4c09a done 17:54:01 [2026-07-17T15:54:01.518Z] #10 naming to docker.io/silverpeas/silverbuild:latest done 17:54:01 [2026-07-17T15:54:01.518Z] #10 DONE 0.0s 17:54:01 [2026-07-17T15:54:01.519Z] [Pipeline] } 17:54:01 [2026-07-17T15:54:01.529Z] [Pipeline] // withEnv 17:54:01 [2026-07-17T15:54:01.548Z] [Pipeline] withEnv 17:54:01 [2026-07-17T15:54:01.549Z] [Pipeline] { 17:54:01 [2026-07-17T15:54:01.557Z] [Pipeline] withDockerRegistry 17:54:01 [2026-07-17T15:54:01.560Z] $ docker login -u mmoqui -p ******** https://index.docker.io/v1/ 17:54:01 [2026-07-17T15:54:01.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:02 [2026-07-17T15:54:02.284Z] 17:54:02 [2026-07-17T15:54:02.285Z] WARNING! Your credentials are stored unencrypted in '/var/lib/jenkins/workspace/Silverpeas Projects Build Image@tmp/f5077a96-0d4a-46b9-8beb-8080306d2b9a/config.json'. 17:54:02 [2026-07-17T15:54:02.285Z] Configure a credential helper to remove this warning. See 17:54:02 [2026-07-17T15:54:02.285Z] https://docs.docker.com/go/credential-store/ 17:54:02 [2026-07-17T15:54:02.285Z] 17:54:02 [2026-07-17T15:54:02.285Z] Login Succeeded 17:54:02 [2026-07-17T15:54:02.290Z] [Pipeline] { 17:54:02 [2026-07-17T15:54:02.304Z] [Pipeline] isUnix 17:54:02 [2026-07-17T15:54:02.306Z] [Pipeline] withEnv 17:54:02 [2026-07-17T15:54:02.307Z] [Pipeline] { 17:54:02 [2026-07-17T15:54:02.316Z] [Pipeline] sh 17:54:02 [2026-07-17T15:54:02.574Z] + docker tag silverpeas/silverbuild:latest silverpeas/silverbuild:latest 17:54:02 [2026-07-17T15:54:02.576Z] [Pipeline] } 17:54:02 [2026-07-17T15:54:02.583Z] [Pipeline] // withEnv 17:54:02 [2026-07-17T15:54:02.591Z] [Pipeline] isUnix 17:54:02 [2026-07-17T15:54:02.593Z] [Pipeline] withEnv 17:54:02 [2026-07-17T15:54:02.593Z] [Pipeline] { 17:54:02 [2026-07-17T15:54:02.602Z] [Pipeline] sh 17:54:02 [2026-07-17T15:54:02.861Z] + docker push silverpeas/silverbuild:latest 17:54:02 [2026-07-17T15:54:02.861Z] The push refers to repository [docker.io/silverpeas/silverbuild] 17:54:03 [2026-07-17T15:54:03.111Z] 90346e25153f: Preparing 17:54:03 [2026-07-17T15:54:03.111Z] a317e49e9d50: Preparing 17:54:03 [2026-07-17T15:54:03.111Z] 9962bcdf5dbd: Preparing 17:54:03 [2026-07-17T15:54:03.111Z] 96de4d107480: Preparing 17:54:03 [2026-07-17T15:54:03.111Z] f103cd120fdd: Preparing 17:54:03 [2026-07-17T15:54:03.662Z] 96de4d107480: Layer already exists 17:54:03 [2026-07-17T15:54:03.662Z] 90346e25153f: Layer already exists 17:54:03 [2026-07-17T15:54:03.662Z] 9962bcdf5dbd: Layer already exists 17:54:03 [2026-07-17T15:54:03.662Z] a317e49e9d50: Layer already exists 17:54:03 [2026-07-17T15:54:03.662Z] f103cd120fdd: Layer already exists 17:54:05 [2026-07-17T15:54:05.006Z] latest: digest: sha256:019d6ed460a182a1b35ef1fb1d77a6fa7085f271d1f5181b68592d80dd4fc4bb size: 1375 17:54:05 [2026-07-17T15:54:05.007Z] [Pipeline] } 17:54:05 [2026-07-17T15:54:05.016Z] [Pipeline] // withEnv 17:54:05 [2026-07-17T15:54:05.022Z] [Pipeline] } 17:54:05 [2026-07-17T15:54:05.029Z] [Pipeline] // withDockerRegistry 17:54:05 [2026-07-17T15:54:05.036Z] [Pipeline] } 17:54:05 [2026-07-17T15:54:05.042Z] [Pipeline] // withEnv 17:54:05 [2026-07-17T15:54:05.049Z] [Pipeline] } 17:54:05 [2026-07-17T15:54:05.055Z] [Pipeline] // script 17:54:05 [2026-07-17T15:54:05.063Z] [Pipeline] } 17:54:05 [2026-07-17T15:54:05.071Z] [Pipeline] // stage 17:54:05 [2026-07-17T15:54:05.085Z] [Pipeline] stage 17:54:05 [2026-07-17T15:54:05.086Z] [Pipeline] { (Declarative: Post Actions) 17:54:05 [2026-07-17T15:54:05.105Z] [Pipeline] step 17:54:05 [2026-07-17T15:54:05.134Z] [Pipeline] script 17:54:05 [2026-07-17T15:54:05.140Z] [Pipeline] { 17:54:05 [2026-07-17T15:54:05.156Z] [Pipeline] } 17:54:05 [2026-07-17T15:54:05.165Z] [Pipeline] // script 17:54:05 [2026-07-17T15:54:05.177Z] [Pipeline] } 17:54:05 [2026-07-17T15:54:05.184Z] [Pipeline] // stage 17:54:05 [2026-07-17T15:54:05.190Z] [Pipeline] } 17:54:05 [2026-07-17T15:54:05.197Z] [Pipeline] // withEnv 17:54:05 [2026-07-17T15:54:05.202Z] [Pipeline] } 17:54:05 [2026-07-17T15:54:05.206Z] [Pipeline] // withEnv 17:54:05 [2026-07-17T15:54:05.211Z] [Pipeline] } 17:54:05 [2026-07-17T15:54:05.216Z] [Pipeline] // node 17:54:05 [2026-07-17T15:54:05.223Z] [Pipeline] End of Pipeline 17:54:05 [2026-07-17T15:54:05.273Z] Finished: SUCCESS