11:07:24 [2023-05-10T09:07:24.934Z] Démarré par l'utilisateur Miguel Moquillon 11:07:24 [2023-05-10T09:07:24.934Z] Running as userbuild 11:07:25 [2023-05-10T09:07:25.344Z] Obtained src/releases/docker-build/Jenkinsfile from git https://github.com/Silverpeas/Jenkins-Pipelines.git 11:07:25 [2023-05-10T09:07:25.606Z] [Pipeline] Start of Pipeline 11:07:25 [2023-05-10T09:07:25.921Z] [Pipeline] node 11:07:25 [2023-05-10T09:07:25.925Z] Running on Jenkins in /var/lib/jenkins/workspace/Silverpeas Projects Build Image 11:07:25 [2023-05-10T09:07:25.926Z] [Pipeline] { 11:07:25 [2023-05-10T09:07:25.940Z] [Pipeline] stage 11:07:25 [2023-05-10T09:07:25.941Z] [Pipeline] { (Declarative: Checkout SCM) 11:07:25 [2023-05-10T09:07:25.946Z] [Pipeline] checkout 11:07:25 [2023-05-10T09:07:25.948Z] Selected Git installation does not exist. Using Default 11:07:25 [2023-05-10T09:07:25.948Z] The recommended git tool is: NONE 11:07:25 [2023-05-10T09:07:25.948Z] No credentials specified 11:07:25 [2023-05-10T09:07:25.948Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10 11:07:25 [2023-05-10T09:07:25.952Z] Fetching changes from the remote Git repository 11:07:25 [2023-05-10T09:07:25.954Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/Jenkins-Pipelines.git # timeout=10 11:07:25 [2023-05-10T09:07:25.960Z] Fetching upstream changes from https://github.com/Silverpeas/Jenkins-Pipelines.git 11:07:25 [2023-05-10T09:07:25.960Z] > /usr/bin/git --version # timeout=10 11:07:25 [2023-05-10T09:07:25.963Z] > git --version # 'git version 2.34.1' 11:07:25 [2023-05-10T09:07:25.963Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/Jenkins-Pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:26 [2023-05-10T09:07:26.373Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 11:07:26 [2023-05-10T09:07:26.378Z] Checking out Revision 2e4857b998ece8f207b9a84e10009a400a544e3e (refs/remotes/origin/master) 11:07:26 [2023-05-10T09:07:26.378Z] > /usr/bin/git config core.sparsecheckout # timeout=10 11:07:26 [2023-05-10T09:07:26.382Z] > /usr/bin/git checkout -f 2e4857b998ece8f207b9a84e10009a400a544e3e # timeout=10 11:07:26 [2023-05-10T09:07:26.400Z] Commit message: "For 6.4 with Jackrabbit 2, the docker image to use is now 6.4-JR instead of latest. Latest will be for 6.4 with Jackrabbit Oak (the default 6.4)" 11:07:26 [2023-05-10T09:07:26.400Z] > /usr/bin/git rev-list --no-walk 2e4857b998ece8f207b9a84e10009a400a544e3e # timeout=10 11:07:26 [2023-05-10T09:07:26.413Z] [Pipeline] } 11:07:26 [2023-05-10T09:07:26.421Z] [Pipeline] // stage 11:07:26 [2023-05-10T09:07:26.432Z] [Pipeline] withEnv 11:07:26 [2023-05-10T09:07:26.432Z] [Pipeline] { 11:07:26 [2023-05-10T09:07:26.447Z] [Pipeline] withEnv 11:07:26 [2023-05-10T09:07:26.448Z] [Pipeline] { 11:07:26 [2023-05-10T09:07:26.464Z] [Pipeline] stage 11:07:26 [2023-05-10T09:07:26.465Z] [Pipeline] { (Check the Docker image version to build) 11:07:26 [2023-05-10T09:07:26.541Z] Stage "Check the Docker image version to build" skipped due to when conditional 11:07:26 [2023-05-10T09:07:26.542Z] [Pipeline] } 11:07:26 [2023-05-10T09:07:26.547Z] [Pipeline] // stage 11:07:26 [2023-05-10T09:07:26.556Z] [Pipeline] stage 11:07:26 [2023-05-10T09:07:26.557Z] [Pipeline] { (Checkout the project) 11:07:26 [2023-05-10T09:07:26.592Z] [Pipeline] git 11:07:26 [2023-05-10T09:07:26.595Z] The recommended git tool is: NONE 11:07:26 [2023-05-10T09:07:26.596Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59 11:07:26 [2023-05-10T09:07:26.603Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10 11:07:26 [2023-05-10T09:07:26.609Z] Fetching changes from the remote Git repository 11:07:26 [2023-05-10T09:07:26.612Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/docker-silverpeas-build # timeout=10 11:07:26 [2023-05-10T09:07:26.620Z] Fetching upstream changes from https://github.com/Silverpeas/docker-silverpeas-build 11:07:26 [2023-05-10T09:07:26.620Z] > /usr/bin/git --version # timeout=10 11:07:26 [2023-05-10T09:07:26.624Z] > git --version # 'git version 2.34.1' 11:07:26 [2023-05-10T09:07:26.624Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins 11:07:26 [2023-05-10T09:07:26.626Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/docker-silverpeas-build +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:27 [2023-05-10T09:07:27.045Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 11:07:27 [2023-05-10T09:07:27.050Z] Checking out Revision f57214acc492825bdaada3c431dcced05208a9b0 (refs/remotes/origin/master) 11:07:27 [2023-05-10T09:07:27.050Z] > /usr/bin/git config core.sparsecheckout # timeout=10 11:07:27 [2023-05-10T09:07:27.054Z] > /usr/bin/git checkout -f f57214acc492825bdaada3c431dcced05208a9b0 # timeout=10 11:07:27 [2023-05-10T09:07:27.083Z] > /usr/bin/git branch -a -v --no-abbrev # timeout=10 11:07:27 [2023-05-10T09:07:27.089Z] > /usr/bin/git branch -D master # timeout=10 11:07:27 [2023-05-10T09:07:27.094Z] > /usr/bin/git checkout -b master f57214acc492825bdaada3c431dcced05208a9b0 # timeout=10 11:07:27 [2023-05-10T09:07:27.129Z] Commit message: "The docker image is now ready for building a project for Silverpeas 6.4 with Apache Jackrabbit Oak as default JCR implementation." 11:07:27 [2023-05-10T09:07:27.130Z] > /usr/bin/git rev-list --no-walk f57214acc492825bdaada3c431dcced05208a9b0 # timeout=10 11:07:27 [2023-05-10T09:07:27.148Z] [Pipeline] } 11:07:27 [2023-05-10T09:07:27.151Z] [Pipeline] // stage 11:07:27 [2023-05-10T09:07:27.156Z] [Pipeline] stage 11:07:27 [2023-05-10T09:07:27.157Z] [Pipeline] { (Release current state as stable version) 11:07:27 [2023-05-10T09:07:27.168Z] Stage "Release current state as stable version" skipped due to when conditional 11:07:27 [2023-05-10T09:07:27.169Z] [Pipeline] } 11:07:27 [2023-05-10T09:07:27.172Z] [Pipeline] // stage 11:07:27 [2023-05-10T09:07:27.177Z] [Pipeline] stage 11:07:27 [2023-05-10T09:07:27.177Z] [Pipeline] { (Prepare the next latest version) 11:07:27 [2023-05-10T09:07:27.190Z] Stage "Prepare the next latest version" skipped due to when conditional 11:07:27 [2023-05-10T09:07:27.191Z] [Pipeline] } 11:07:27 [2023-05-10T09:07:27.194Z] [Pipeline] // stage 11:07:27 [2023-05-10T09:07:27.198Z] [Pipeline] stage 11:07:27 [2023-05-10T09:07:27.199Z] [Pipeline] { (Update current latest version) 11:07:27 [2023-05-10T09:07:27.214Z] [Pipeline] withCredentials 11:07:27 [2023-05-10T09:07:27.227Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW 11:07:27 [2023-05-10T09:07:27.229Z] [Pipeline] { 11:07:27 [2023-05-10T09:07:27.239Z] [Pipeline] script 11:07:27 [2023-05-10T09:07:27.243Z] [Pipeline] { 11:07:27 [2023-05-10T09:07:27.247Z] [Pipeline] sh 11:07:27 [2023-05-10T09:07:27.503Z] + grep -oP (?<=build=)\d+ Dockerfile 11:07:27 [2023-05-10T09:07:27.507Z] [Pipeline] sh 11:07:27 [2023-05-10T09:07:27.765Z] + sed -i -e s/WILDFLY_VERSION=[0-9.]\+/WILDFLY_VERSION=26.1.3/g Dockerfile 11:07:27 [2023-05-10T09:07:27.765Z] + sed -i -e s/JAVA_VERSION=[0-9]\+/JAVA_VERSION=11/g Dockerfile 11:07:27 [2023-05-10T09:07:27.766Z] + git diff --quiet 11:07:27 [2023-05-10T09:07:27.768Z] [Pipeline] } 11:07:27 [2023-05-10T09:07:27.777Z] [Pipeline] // script 11:07:27 [2023-05-10T09:07:27.784Z] [Pipeline] } 11:07:27 [2023-05-10T09:07:27.791Z] [Pipeline] // withCredentials 11:07:27 [2023-05-10T09:07:27.798Z] [Pipeline] } 11:07:27 [2023-05-10T09:07:27.805Z] [Pipeline] // stage 11:07:27 [2023-05-10T09:07:27.815Z] [Pipeline] stage 11:07:27 [2023-05-10T09:07:27.816Z] [Pipeline] { (Publish latest version) 11:07:27 [2023-05-10T09:07:27.847Z] [Pipeline] script 11:07:27 [2023-05-10T09:07:27.852Z] [Pipeline] { 11:07:28 [2023-05-10T09:07:28.041Z] [Pipeline] isUnix 11:07:28 [2023-05-10T09:07:28.049Z] [Pipeline] withEnv 11:07:28 [2023-05-10T09:07:28.049Z] [Pipeline] { 11:07:28 [2023-05-10T09:07:28.057Z] [Pipeline] sh 11:07:28 [2023-05-10T09:07:28.313Z] + docker build -t silverpeas/silverbuild:latest . 11:07:28 [2023-05-10T09:07:28.565Z] #1 [internal] load .dockerignore 11:07:28 [2023-05-10T09:07:28.565Z] #1 transferring context: 2B done 11:07:28 [2023-05-10T09:07:28.565Z] #1 DONE 0.0s 11:07:28 [2023-05-10T09:07:28.565Z] 11:07:28 [2023-05-10T09:07:28.565Z] #2 [internal] load build definition from Dockerfile 11:07:28 [2023-05-10T09:07:28.565Z] #2 transferring dockerfile: 4.90kB done 11:07:28 [2023-05-10T09:07:28.565Z] #2 DONE 0.0s 11:07:28 [2023-05-10T09:07:28.565Z] 11:07:28 [2023-05-10T09:07:28.565Z] #3 [internal] load metadata for docker.io/library/ubuntu:jammy 11:07:28 [2023-05-10T09:07:28.565Z] #3 DONE 0.0s 11:07:28 [2023-05-10T09:07:28.565Z] 11:07:28 [2023-05-10T09:07:28.565Z] #4 [1/5] FROM docker.io/library/ubuntu:jammy 11:07:28 [2023-05-10T09:07:28.565Z] #4 DONE 0.0s 11:07:28 [2023-05-10T09:07:28.565Z] 11:07:28 [2023-05-10T09:07:28.565Z] #5 [internal] load build context 11:07:28 [2023-05-10T09:07:28.565Z] #5 transferring context: 4.47MB 0.0s done 11:07:28 [2023-05-10T09:07:28.565Z] #5 DONE 0.0s 11:07:28 [2023-05-10T09:07:28.565Z] 11:07:28 [2023-05-10T09:07:28.565Z] #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 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://apache.osuosl.org/maven/maven-3/3.9.1/binaries/apache-maven-3.9.1-bin.tar.gz && echo "d3be5956712d1c2cf7a6e4c3a2db1841aa971c6097c7a67f59493a5873ccf8c8b889cf988e4e9801390a2b1ae5a0669de07673acb090a083232dbd3faf82f3e3 /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 11:07:28 [2023-05-10T09:07:28.565Z] #6 CACHED 11:07:28 [2023-05-10T09:07:28.565Z] 11:07:28 [2023-05-10T09:07:28.565Z] #7 [4/5] COPY src/settings.xml /home/silverbuild/.m2/ 11:07:28 [2023-05-10T09:07:28.565Z] #7 CACHED 11:07:28 [2023-05-10T09:07:28.565Z] 11:07:28 [2023-05-10T09:07:28.565Z] #8 [2/5] COPY src/maven-deps.zip /tmp/ 11:07:28 [2023-05-10T09:07:28.565Z] #8 CACHED 11:07:28 [2023-05-10T09:07:28.565Z] 11:07:28 [2023-05-10T09:07:28.565Z] #9 [5/5] RUN chown -R silverbuild:silverbuild /home/silverbuild && chown -R silverbuild:silverbuild /opt/wildfly-for-tests 11:07:28 [2023-05-10T09:07:28.565Z] #9 CACHED 11:07:28 [2023-05-10T09:07:28.565Z] 11:07:28 [2023-05-10T09:07:28.565Z] #10 exporting to image 11:07:28 [2023-05-10T09:07:28.565Z] #10 exporting layers done 11:07:28 [2023-05-10T09:07:28.565Z] #10 writing image sha256:ac300d9e55309288505a3e807961ad48c412f5214e47664245e4fd0407283496 done 11:07:28 [2023-05-10T09:07:28.565Z] #10 naming to docker.io/silverpeas/silverbuild:latest done 11:07:28 [2023-05-10T09:07:28.565Z] #10 DONE 0.0s 11:07:28 [2023-05-10T09:07:28.567Z] [Pipeline] } 11:07:28 [2023-05-10T09:07:28.574Z] [Pipeline] // withEnv 11:07:28 [2023-05-10T09:07:28.605Z] [Pipeline] withEnv 11:07:28 [2023-05-10T09:07:28.605Z] [Pipeline] { 11:07:28 [2023-05-10T09:07:28.615Z] [Pipeline] withDockerRegistry 11:07:28 [2023-05-10T09:07:28.618Z] $ docker login -u mmoqui -p ******** https://index.docker.io/v1/ 11:07:28 [2023-05-10T09:07:28.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:29 [2023-05-10T09:07:29.488Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Silverpeas Projects Build Image@tmp/7cc25e0d-ac74-4d50-844a-cc86518785ca/config.json. 11:07:29 [2023-05-10T09:07:29.488Z] Configure a credential helper to remove this warning. See 11:07:29 [2023-05-10T09:07:29.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:29 [2023-05-10T09:07:29.488Z] 11:07:29 [2023-05-10T09:07:29.489Z] Login Succeeded 11:07:29 [2023-05-10T09:07:29.492Z] [Pipeline] { 11:07:29 [2023-05-10T09:07:29.508Z] [Pipeline] isUnix 11:07:29 [2023-05-10T09:07:29.509Z] [Pipeline] withEnv 11:07:29 [2023-05-10T09:07:29.510Z] [Pipeline] { 11:07:29 [2023-05-10T09:07:29.519Z] [Pipeline] sh 11:07:29 [2023-05-10T09:07:29.775Z] + docker tag silverpeas/silverbuild:latest silverpeas/silverbuild:latest 11:07:29 [2023-05-10T09:07:29.777Z] [Pipeline] } 11:07:29 [2023-05-10T09:07:29.784Z] [Pipeline] // withEnv 11:07:29 [2023-05-10T09:07:29.792Z] [Pipeline] isUnix 11:07:29 [2023-05-10T09:07:29.794Z] [Pipeline] withEnv 11:07:29 [2023-05-10T09:07:29.794Z] [Pipeline] { 11:07:29 [2023-05-10T09:07:29.804Z] [Pipeline] sh 11:07:30 [2023-05-10T09:07:30.062Z] + docker push silverpeas/silverbuild:latest 11:07:30 [2023-05-10T09:07:30.062Z] The push refers to repository [docker.io/silverpeas/silverbuild] 11:07:30 [2023-05-10T09:07:30.314Z] ef062ba3f58d: Preparing 11:07:30 [2023-05-10T09:07:30.314Z] aaf89a901d44: Preparing 11:07:30 [2023-05-10T09:07:30.314Z] c6dcbbd0d48a: Preparing 11:07:30 [2023-05-10T09:07:30.314Z] 28aa039a5545: Preparing 11:07:30 [2023-05-10T09:07:30.314Z] 17f623af01e2: Preparing 11:07:30 [2023-05-10T09:07:30.866Z] aaf89a901d44: Layer already exists 11:07:30 [2023-05-10T09:07:30.866Z] 17f623af01e2: Layer already exists 11:07:31 [2023-05-10T09:07:31.116Z] c6dcbbd0d48a: Layer already exists 11:07:31 [2023-05-10T09:07:31.116Z] ef062ba3f58d: Layer already exists 11:07:31 [2023-05-10T09:07:31.117Z] 28aa039a5545: Layer already exists 11:07:32 [2023-05-10T09:07:32.028Z] latest: digest: sha256:2ef37945f87440c61bebf4e7da5f76c112d78f95e3dde76d9e93c87899f68b2a size: 1374 11:07:32 [2023-05-10T09:07:32.029Z] [Pipeline] } 11:07:32 [2023-05-10T09:07:32.037Z] [Pipeline] // withEnv 11:07:32 [2023-05-10T09:07:32.044Z] [Pipeline] } 11:07:32 [2023-05-10T09:07:32.051Z] [Pipeline] // withDockerRegistry 11:07:32 [2023-05-10T09:07:32.058Z] [Pipeline] } 11:07:32 [2023-05-10T09:07:32.065Z] [Pipeline] // withEnv 11:07:32 [2023-05-10T09:07:32.072Z] [Pipeline] } 11:07:32 [2023-05-10T09:07:32.078Z] [Pipeline] // script 11:07:32 [2023-05-10T09:07:32.085Z] [Pipeline] } 11:07:32 [2023-05-10T09:07:32.092Z] [Pipeline] // stage 11:07:32 [2023-05-10T09:07:32.101Z] [Pipeline] stage 11:07:32 [2023-05-10T09:07:32.102Z] [Pipeline] { (Declarative: Post Actions) 11:07:32 [2023-05-10T09:07:32.118Z] [Pipeline] step 11:07:32 [2023-05-10T09:07:32.139Z] [Pipeline] script 11:07:32 [2023-05-10T09:07:32.145Z] [Pipeline] { 11:07:32 [2023-05-10T09:07:32.161Z] [Pipeline] } 11:07:32 [2023-05-10T09:07:32.167Z] [Pipeline] // script 11:07:32 [2023-05-10T09:07:32.179Z] [Pipeline] } 11:07:32 [2023-05-10T09:07:32.186Z] [Pipeline] // stage 11:07:32 [2023-05-10T09:07:32.193Z] [Pipeline] } 11:07:32 [2023-05-10T09:07:32.199Z] [Pipeline] // withEnv 11:07:32 [2023-05-10T09:07:32.206Z] [Pipeline] } 11:07:32 [2023-05-10T09:07:32.213Z] [Pipeline] // withEnv 11:07:32 [2023-05-10T09:07:32.220Z] [Pipeline] } 11:07:32 [2023-05-10T09:07:32.226Z] [Pipeline] // node 11:07:32 [2023-05-10T09:07:32.233Z] [Pipeline] End of Pipeline 11:07:32 [2023-05-10T09:07:32.260Z] Finished: SUCCESS