Started by GitLab push by Alex Muravya Lightweight checkout support not available, falling back to full checkout. Checking out git https://gitlab.com/kyberorg/whereami.git into /var/lib/jenkins/workspace/WhereAmI@script to read Jenkinsfile using credential yabot-gitlab > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/whereami.git # timeout=10 Fetching upstream changes from https://gitlab.com/kyberorg/whereami.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --tags --progress https://gitlab.com/kyberorg/whereami.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/deploy-step, since it originates from another repository Seen branch in repository origin/5-disable-vaadin-debug-mode Seen branch in repository origin/6-adapt-gitlab-integrated-pipeline Seen branch in repository origin/7-readme-fix Seen branch in repository origin/deploy-step Seen branch in repository origin/docker-stage Seen branch in repository origin/kyberorg-master-patch-79731 Seen branch in repository origin/master Seen branch in repository origin/trunk Seen 8 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 98c3c35f21ba44adb8327e4a25a87947ccb39d9a (origin/deploy-step) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 98c3c35f21ba44adb8327e4a25a87947ccb39d9a # timeout=10 Commit message: "Deploy to Swarm" > /usr/bin/git rev-list --no-walk 33d95b8948813788598684fbfd2a50bd68704d53 # timeout=10 Running in Durability level: MAX_SURVIVABILITY Loading library common-pipe@2.3.3 Attempting to resolve 2.3.3 from remote references... > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git ls-remote -h https://gitlab.com/yasys/common-pipe.git # timeout=10 Could not find 2.3.3 in remote references. Pulling heads to local for deep search... > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://gitlab.com/yasys/common-pipe.git > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10 Fetching origin... Fetching upstream changes from origin > /usr/bin/git --version # timeout=10 > /usr/bin/git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse 2.3.3^{commit} # timeout=10 > /usr/bin/git branch -a -v --no-abbrev --contains 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Selected match: master revision 78e505581bfc1d87a0194b7a0531760b3985472d using credential kyberorg_gl > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/yasys/common-pipe.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --progress https://gitlab.com/yasys/common-pipe.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/deploy-step, since it originates from another repository Checking out Revision 78e505581bfc1d87a0194b7a0531760b3985472d (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Commit message: "Merge branch 'steps-fix' into 'master'" > /usr/bin/git rev-list --no-walk 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Loading library common-lib@master Attempting to resolve master from remote references... > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git ls-remote -h https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 Found match: refs/heads/master revision a47f5bc3d6680e5e49d62c2d87c885b25d1c4adc using credential yabot-gitlab > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/yasys/jenkins/common-lib.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --no-tags --progress https://gitlab.com/yasys/jenkins/common-lib.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/deploy-step, since it originates from another repository Checking out Revision a47f5bc3d6680e5e49d62c2d87c885b25d1c4adc (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f a47f5bc3d6680e5e49d62c2d87c885b25d1c4adc # timeout=10 Commit message: "deploy to swarm" > /usr/bin/git rev-list --no-walk a47f5bc3d6680e5e49d62c2d87c885b25d1c4adc # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/WhereAmI [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential yabot-gitlab > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/whereami.git # timeout=10 Fetching upstream changes from https://gitlab.com/kyberorg/whereami.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --tags --progress https://gitlab.com/kyberorg/whereami.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/deploy-step, since it originates from another repository Seen branch in repository origin/5-disable-vaadin-debug-mode Seen branch in repository origin/6-adapt-gitlab-integrated-pipeline Seen branch in repository origin/deploy-step Seen branch in repository origin/docker-stage Seen branch in repository origin/master Seen branch in repository origin/trunk Seen 6 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 98c3c35f21ba44adb8327e4a25a87947ccb39d9a (origin/deploy-step) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 98c3c35f21ba44adb8327e4a25a87947ccb39d9a # timeout=10 Commit message: "Deploy to Swarm" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Vaadin) [Pipeline] script [Pipeline] { [Pipeline] sh + set +x [INFO] Scanning for projects... [INFO] [INFO] ---------------------------< ee.yals:whoami >--------------------------- [INFO] Building whereami 1.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ whoami --- [INFO] Deleting /var/lib/jenkins/workspace/WhereAmI/target [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ whoami --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ whoami --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /var/lib/jenkins/workspace/WhereAmI/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ whoami --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ whoami --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ whoami --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ whoami --- [INFO] Building jar: /var/lib/jenkins/workspace/WhereAmI/target/whereami.jar [INFO] [INFO] --- spring-boot-maven-plugin:2.1.3.RELEASE:repackage (repackage) @ whoami --- [INFO] Replacing main artifact with repackaged archive [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.402 s [INFO] Finished at: 2019-08-22T09:58:35+03:00 [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker) [Pipeline] script [Pipeline] { [Pipeline] sh + set +x Sending build context to Docker daemon 36.15MB Step 1/7 : FROM java:8-jre ---> e44d62cf8862 Step 2/7 : VOLUME /tmp ---> Using cache ---> f8b03bbf305e Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) ---> Using cache ---> 8fd05b3c5eb4 Step 4/7 : ADD ./target/whereami.jar /app/ ---> 038e39b6247c Step 5/7 : RUN sh -c 'touch /app/whereami.jar' ---> Running in 29bd6b46be6b Removing intermediate container 29bd6b46be6b ---> 519d3ea9ed5a Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/whereami.jar ---> Running in b119d5e36ef2 Removing intermediate container b119d5e36ef2 ---> aa060e2863fe Step 7/7 : EXPOSE 8080 ---> Running in 43d5f67c9f53 Removing intermediate container 43d5f67c9f53 ---> d13d278899fe Successfully built d13d278899fe Successfully tagged kyberorg/whereami:latest [Pipeline] withCredentials Masking supported pattern matches of $USR or $PASS [Pipeline] { [Pipeline] sh + set +x WARNING! Your password will be stored unencrypted in /var/lib/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] } [Pipeline] // withCredentials [Pipeline] sh + set +x The push refers to repository [docker.io/kyberorg/whereami] 8f8454afb540: Preparing 25bd7ec2978c: Preparing 73ad47d4bc12: Preparing c22c27816361: Preparing 04dba64afa87: Preparing 500ca2ff7d52: Preparing 782d5215f910: Preparing 0eb22bfb707d: Preparing a2ae92ffcd29: Preparing 500ca2ff7d52: Waiting 782d5215f910: Waiting a2ae92ffcd29: Waiting 0eb22bfb707d: Waiting 73ad47d4bc12: Layer already exists c22c27816361: Layer already exists 04dba64afa87: Layer already exists 782d5215f910: Layer already exists 500ca2ff7d52: Layer already exists 0eb22bfb707d: Layer already exists a2ae92ffcd29: Layer already exists 25bd7ec2978c: Pushed 8f8454afb540: Pushed latest: digest: sha256:64dcf78b4e5e891dae78ab2ee181d6a049c61fe825a8fbdeff50c37969739287 size: 2211 [Pipeline] sh + set +x Removing login credentials for https://index.docker.io/v1/ [Pipeline] sh + set +x Untagged: kyberorg/whereami:latest Untagged: kyberorg/whereami@sha256:64dcf78b4e5e891dae78ab2ee181d6a049c61fe825a8fbdeff50c37969739287 Deleted: sha256:d13d278899fed5396abaf77fd84b30e48dbb0bac93defd1b56a96de27a4cc03c Deleted: sha256:aa060e2863fe1ed0a53da479ee667dae6f16fe214c6d83fc99cd6be9f8bceef0 Deleted: sha256:519d3ea9ed5a4498d8678d80c3a7eb83d6ecfd0bcc5cf9574835fc677071485a Deleted: sha256:fff21606f025d4002f2a41c701826bba067bf032e3a0c7fbc16b88d100bb38e2 Deleted: sha256:038e39b6247cbe658909f573f648a124fb24ec2f59101bcbe5e79270d6b66eae Deleted: sha256:eca8c404899afd11e2949f5c88f3d2350e1b8eb479ae8a33cc97f2d080dd955b [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) [Pipeline] script [Pipeline] { [Pipeline] echo To be done [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS