[2023-05-10T07:48:28.607Z] Démarré par l'utilisateur Miguel Moquillon [2023-05-10T07:48:28.607Z] Running as userbuild [2023-05-10T07:48:29.085Z] Obtained src/releases/docker-build/Jenkinsfile from git https://github.com/Silverpeas/Jenkins-Pipelines.git [2023-05-10T07:48:29.369Z] [Pipeline] Start of Pipeline [2023-05-10T07:48:29.719Z] [Pipeline] node [2023-05-10T07:48:29.723Z] Running on Jenkins in /var/lib/jenkins/workspace/Silverpeas Projects Build Image [2023-05-10T07:48:29.726Z] [Pipeline] { [2023-05-10T07:48:29.743Z] [Pipeline] stage [2023-05-10T07:48:29.743Z] [Pipeline] { (Declarative: Checkout SCM) [2023-05-10T07:48:29.749Z] [Pipeline] checkout [2023-05-10T07:48:29.750Z] Selected Git installation does not exist. Using Default [2023-05-10T07:48:29.750Z] The recommended git tool is: NONE [2023-05-10T07:48:29.750Z] No credentials specified [2023-05-10T07:48:29.751Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10 [2023-05-10T07:48:29.757Z] Fetching changes from the remote Git repository [2023-05-10T07:48:29.758Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/Jenkins-Pipelines.git # timeout=10 [2023-05-10T07:48:29.762Z] Fetching upstream changes from https://github.com/Silverpeas/Jenkins-Pipelines.git [2023-05-10T07:48:29.762Z] > /usr/bin/git --version # timeout=10 [2023-05-10T07:48:29.765Z] > git --version # 'git version 2.34.1' [2023-05-10T07:48:29.765Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/Jenkins-Pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T07:48:30.177Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 [2023-05-10T07:48:30.184Z] Checking out Revision 2e4857b998ece8f207b9a84e10009a400a544e3e (refs/remotes/origin/master) [2023-05-10T07:48:30.185Z] > /usr/bin/git config core.sparsecheckout # timeout=10 [2023-05-10T07:48:30.188Z] > /usr/bin/git checkout -f 2e4857b998ece8f207b9a84e10009a400a544e3e # timeout=10 [2023-05-10T07:48:30.205Z] 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)" [2023-05-10T07:48:30.206Z] > /usr/bin/git rev-list --no-walk 2e4857b998ece8f207b9a84e10009a400a544e3e # timeout=10 [2023-05-10T07:48:30.218Z] [Pipeline] } [2023-05-10T07:48:30.221Z] [Pipeline] // stage [2023-05-10T07:48:30.234Z] [Pipeline] withEnv [2023-05-10T07:48:30.234Z] [Pipeline] { [2023-05-10T07:48:30.247Z] [Pipeline] withEnv [2023-05-10T07:48:30.248Z] [Pipeline] { [2023-05-10T07:48:30.257Z] [Pipeline] stage [2023-05-10T07:48:30.258Z] [Pipeline] { (Check the Docker image version to build) [2023-05-10T07:48:30.302Z] Stage "Check the Docker image version to build" skipped due to when conditional [2023-05-10T07:48:30.313Z] [Pipeline] } [2023-05-10T07:48:30.317Z] [Pipeline] // stage [2023-05-10T07:48:30.326Z] [Pipeline] stage [2023-05-10T07:48:30.327Z] [Pipeline] { (Checkout the project) [2023-05-10T07:48:30.361Z] [Pipeline] git [2023-05-10T07:48:30.363Z] The recommended git tool is: NONE [2023-05-10T07:48:30.364Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59 [2023-05-10T07:48:30.371Z] > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10 [2023-05-10T07:48:30.377Z] Fetching changes from the remote Git repository [2023-05-10T07:48:30.380Z] > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/docker-silverpeas-build # timeout=10 [2023-05-10T07:48:30.384Z] Fetching upstream changes from https://github.com/Silverpeas/docker-silverpeas-build [2023-05-10T07:48:30.384Z] > /usr/bin/git --version # timeout=10 [2023-05-10T07:48:30.388Z] > git --version # 'git version 2.34.1' [2023-05-10T07:48:30.388Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins [2023-05-10T07:48:30.389Z] > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/docker-silverpeas-build +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T07:48:30.786Z] > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 [2023-05-10T07:48:30.793Z] Checking out Revision f57214acc492825bdaada3c431dcced05208a9b0 (refs/remotes/origin/master) [2023-05-10T07:48:30.793Z] > /usr/bin/git config core.sparsecheckout # timeout=10 [2023-05-10T07:48:30.796Z] > /usr/bin/git checkout -f f57214acc492825bdaada3c431dcced05208a9b0 # timeout=10 [2023-05-10T07:48:30.825Z] > /usr/bin/git branch -a -v --no-abbrev # timeout=10 [2023-05-10T07:48:30.831Z] > /usr/bin/git branch -D master # timeout=10 [2023-05-10T07:48:30.836Z] > /usr/bin/git checkout -b master f57214acc492825bdaada3c431dcced05208a9b0 # timeout=10 [2023-05-10T07:48:30.868Z] Commit message: "The docker image is now ready for building a project for Silverpeas 6.4 with Apache Jackrabbit Oak as default JCR implementation." [2023-05-10T07:48:30.868Z] > /usr/bin/git rev-list --no-walk f57214acc492825bdaada3c431dcced05208a9b0 # timeout=10 [2023-05-10T07:48:30.882Z] [Pipeline] } [2023-05-10T07:48:30.886Z] [Pipeline] // stage [2023-05-10T07:48:30.892Z] [Pipeline] stage [2023-05-10T07:48:30.892Z] [Pipeline] { (Release current state as stable version) [2023-05-10T07:48:30.906Z] Stage "Release current state as stable version" skipped due to when conditional [2023-05-10T07:48:30.907Z] [Pipeline] } [2023-05-10T07:48:30.911Z] [Pipeline] // stage [2023-05-10T07:48:30.916Z] [Pipeline] stage [2023-05-10T07:48:30.916Z] [Pipeline] { (Prepare the next latest version) [2023-05-10T07:48:30.930Z] Stage "Prepare the next latest version" skipped due to when conditional [2023-05-10T07:48:30.931Z] [Pipeline] } [2023-05-10T07:48:30.934Z] [Pipeline] // stage [2023-05-10T07:48:30.940Z] [Pipeline] stage [2023-05-10T07:48:30.940Z] [Pipeline] { (Update current latest version) [2023-05-10T07:48:30.963Z] [Pipeline] withCredentials [2023-05-10T07:48:30.977Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW [2023-05-10T07:48:30.979Z] [Pipeline] { [2023-05-10T07:48:30.991Z] [Pipeline] script [2023-05-10T07:48:30.999Z] [Pipeline] { [2023-05-10T07:48:31.004Z] [Pipeline] sh [2023-05-10T07:48:31.259Z] + grep -oP (?<=build=)\d+ Dockerfile [2023-05-10T07:48:31.265Z] [Pipeline] sh [2023-05-10T07:48:31.523Z] + sed -i -e s/WILDFLY_VERSION=[0-9.]\+/WILDFLY_VERSION=26.1.3/g Dockerfile [2023-05-10T07:48:31.523Z] + sed -i -e s/JAVA_VERSION=[0-9]\+/JAVA_VERSION=11/g Dockerfile [2023-05-10T07:48:31.523Z] + git diff --quiet [2023-05-10T07:48:31.526Z] [Pipeline] } [2023-05-10T07:48:31.533Z] [Pipeline] // script [2023-05-10T07:48:31.540Z] [Pipeline] } [2023-05-10T07:48:31.547Z] [Pipeline] // withCredentials [2023-05-10T07:48:31.555Z] [Pipeline] } [2023-05-10T07:48:31.562Z] [Pipeline] // stage [2023-05-10T07:48:31.572Z] [Pipeline] stage [2023-05-10T07:48:31.573Z] [Pipeline] { (Publish latest version) [2023-05-10T07:48:31.607Z] [Pipeline] script [2023-05-10T07:48:31.612Z] [Pipeline] { [2023-05-10T07:48:31.810Z] [Pipeline] isUnix [2023-05-10T07:48:31.818Z] [Pipeline] withEnv [2023-05-10T07:48:31.818Z] [Pipeline] { [2023-05-10T07:48:31.826Z] [Pipeline] sh [2023-05-10T07:48:32.081Z] + docker build -t silverpeas/silverbuild:latest . [2023-05-10T07:48:32.633Z] #1 [internal] load .dockerignore [2023-05-10T07:48:32.633Z] #1 transferring context: 2B done [2023-05-10T07:48:32.633Z] #1 DONE 0.0s [2023-05-10T07:48:32.633Z] [2023-05-10T07:48:32.633Z] #2 [internal] load build definition from Dockerfile [2023-05-10T07:48:32.633Z] #2 transferring dockerfile: 4.90kB done [2023-05-10T07:48:32.633Z] #2 DONE 0.0s [2023-05-10T07:48:32.633Z] [2023-05-10T07:48:32.633Z] #3 [internal] load metadata for docker.io/library/ubuntu:jammy [2023-05-10T07:48:32.633Z] #3 DONE 0.0s [2023-05-10T07:48:32.633Z] [2023-05-10T07:48:32.633Z] #4 [1/5] FROM docker.io/library/ubuntu:jammy [2023-05-10T07:48:32.633Z] #4 DONE 0.0s [2023-05-10T07:48:32.633Z] [2023-05-10T07:48:32.633Z] #5 [internal] load build context [2023-05-10T07:48:32.633Z] #5 transferring context: 4.47MB 0.0s done [2023-05-10T07:48:32.633Z] #5 DONE 0.1s [2023-05-10T07:48:32.633Z] [2023-05-10T07:48:32.633Z] #6 [2/5] COPY src/maven-deps.zip /tmp/ [2023-05-10T07:48:32.633Z] #6 CACHED [2023-05-10T07:48:32.633Z] [2023-05-10T07:48:32.634Z] #7 [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 [2023-05-10T07:48:32.634Z] #7 CACHED [2023-05-10T07:48:32.634Z] [2023-05-10T07:48:32.634Z] #8 [4/5] COPY src/settings.xml /home/silverbuild/.m2/ [2023-05-10T07:48:32.634Z] #8 CACHED [2023-05-10T07:48:32.634Z] [2023-05-10T07:48:32.634Z] #9 [5/5] RUN chown -R silverbuild:silverbuild /home/silverbuild && chown -R silverbuild:silverbuild /opt/wildfly-for-tests [2023-05-10T07:48:32.634Z] #9 CACHED [2023-05-10T07:48:32.634Z] [2023-05-10T07:48:32.634Z] #10 exporting to image [2023-05-10T07:48:32.634Z] #10 exporting layers done [2023-05-10T07:48:32.634Z] #10 writing image sha256:ac300d9e55309288505a3e807961ad48c412f5214e47664245e4fd0407283496 done [2023-05-10T07:48:32.634Z] #10 naming to docker.io/silverpeas/silverbuild:latest done [2023-05-10T07:48:32.634Z] #10 DONE 0.0s [2023-05-10T07:48:32.635Z] [Pipeline] } [2023-05-10T07:48:32.642Z] [Pipeline] // withEnv [2023-05-10T07:48:32.675Z] [Pipeline] withEnv [2023-05-10T07:48:32.677Z] [Pipeline] { [2023-05-10T07:48:32.687Z] [Pipeline] withDockerRegistry [2023-05-10T07:48:32.690Z] $ docker login -u mmoqui -p ******** https://index.docker.io/v1/ [2023-05-10T07:48:32.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T07:48:33.569Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Silverpeas Projects Build Image@tmp/2f0e951d-3860-49c2-99b6-bfb5ffaae2f8/config.json. [2023-05-10T07:48:33.569Z] Configure a credential helper to remove this warning. See [2023-05-10T07:48:33.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T07:48:33.569Z] [2023-05-10T07:48:33.569Z] Login Succeeded [2023-05-10T07:48:33.574Z] [Pipeline] { [2023-05-10T07:48:33.591Z] [Pipeline] isUnix [2023-05-10T07:48:33.593Z] [Pipeline] withEnv [2023-05-10T07:48:33.594Z] [Pipeline] { [2023-05-10T07:48:33.603Z] [Pipeline] sh [2023-05-10T07:48:33.859Z] + docker tag silverpeas/silverbuild:latest silverpeas/silverbuild:latest [2023-05-10T07:48:33.861Z] [Pipeline] } [2023-05-10T07:48:33.869Z] [Pipeline] // withEnv [2023-05-10T07:48:33.877Z] [Pipeline] isUnix [2023-05-10T07:48:33.879Z] [Pipeline] withEnv [2023-05-10T07:48:33.880Z] [Pipeline] { [2023-05-10T07:48:33.890Z] [Pipeline] sh [2023-05-10T07:48:34.147Z] + docker push silverpeas/silverbuild:latest [2023-05-10T07:48:34.147Z] The push refers to repository [docker.io/silverpeas/silverbuild] [2023-05-10T07:48:34.400Z] ef062ba3f58d: Preparing [2023-05-10T07:48:34.400Z] aaf89a901d44: Preparing [2023-05-10T07:48:34.400Z] c6dcbbd0d48a: Preparing [2023-05-10T07:48:34.400Z] 28aa039a5545: Preparing [2023-05-10T07:48:34.400Z] 17f623af01e2: Preparing [2023-05-10T07:48:34.951Z] 17f623af01e2: Layer already exists [2023-05-10T07:48:35.202Z] aaf89a901d44: Layer already exists [2023-05-10T07:48:35.202Z] 28aa039a5545: Layer already exists [2023-05-10T07:48:35.202Z] ef062ba3f58d: Layer already exists [2023-05-10T07:48:35.202Z] c6dcbbd0d48a: Layer already exists [2023-05-10T07:48:38.431Z] latest: digest: sha256:2ef37945f87440c61bebf4e7da5f76c112d78f95e3dde76d9e93c87899f68b2a size: 1374 [2023-05-10T07:48:38.433Z] [Pipeline] } [2023-05-10T07:48:38.442Z] [Pipeline] // withEnv [2023-05-10T07:48:38.449Z] [Pipeline] } [2023-05-10T07:48:38.456Z] [Pipeline] // withDockerRegistry [2023-05-10T07:48:38.463Z] [Pipeline] } [2023-05-10T07:48:38.470Z] [Pipeline] // withEnv [2023-05-10T07:48:38.477Z] [Pipeline] } [2023-05-10T07:48:38.484Z] [Pipeline] // script [2023-05-10T07:48:38.491Z] [Pipeline] } [2023-05-10T07:48:38.498Z] [Pipeline] // stage [2023-05-10T07:48:38.512Z] [Pipeline] stage [2023-05-10T07:48:38.513Z] [Pipeline] { (Declarative: Post Actions) [2023-05-10T07:48:38.532Z] [Pipeline] step [2023-05-10T07:48:38.556Z] [Pipeline] script [2023-05-10T07:48:38.562Z] [Pipeline] { [2023-05-10T07:48:38.579Z] [Pipeline] } [2023-05-10T07:48:38.585Z] [Pipeline] // script [2023-05-10T07:48:38.599Z] [Pipeline] } [2023-05-10T07:48:38.606Z] [Pipeline] // stage [2023-05-10T07:48:38.613Z] [Pipeline] } [2023-05-10T07:48:38.619Z] [Pipeline] // withEnv [2023-05-10T07:48:38.626Z] [Pipeline] } [2023-05-10T07:48:38.633Z] [Pipeline] // withEnv [2023-05-10T07:48:38.639Z] [Pipeline] } [2023-05-10T07:48:38.650Z] [Pipeline] // node [2023-05-10T07:48:38.657Z] [Pipeline] End of Pipeline [2023-05-10T07:48:38.695Z] Finished: SUCCESS