Branch indexing > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://gitlab.com/kyberorg/kaart4jimny.git > /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/kaart4jimny.git # timeout=10 Fetching origin... Fetching upstream changes from origin > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' > /usr/bin/git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 Seen branch in repository origin/i18n Seen branch in repository origin/master Seen 2 remote branches Obtained Jenkinsfile from ba0d63bc3a9fdabaf97b56be196d4d879b07c650 Running in Durability level: MAX_SURVIVABILITY Only using first definition of library common-lib Loading library common-lib@1.6 Attempting to resolve 1.6 from remote references... > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git ls-remote -h -- https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 Could not find 1.6 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/jenkins/common-lib.git > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 Fetching origin... Fetching upstream changes from origin > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' > /usr/bin/git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse 1.6^{commit} # timeout=10 > /usr/bin/git branch -a -v --no-abbrev --contains 0b30bc4e918097575eab0885b2edb71afa83a982 # timeout=10 Selected match: master revision 0b30bc4e918097575eab0885b2edb71afa83a982 using credential yabot-gitlab Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://gitlab.com/yasys/jenkins/common-lib.git > /usr/bin/git init /var/lib/jenkins/workspace/HTTP_master@libs/common-lib # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/jenkins/common-lib.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --no-tags --force --progress -- https://gitlab.com/yasys/jenkins/common-lib.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /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 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --no-tags --force --progress -- https://gitlab.com/yasys/jenkins/common-lib.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0b30bc4e918097575eab0885b2edb71afa83a982 (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 0b30bc4e918097575eab0885b2edb71afa83a982 # timeout=10 Commit message: "deployToKube" First time build. Skipping changelog. > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' Loading library common-pipe@2.3.3 Attempting to resolve 2.3.3 from remote references... > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' 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 > git --version # 'git version 2.20.1' > /usr/bin/git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --force --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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://gitlab.com/yasys/common-pipe.git > /usr/bin/git init /var/lib/jenkins/workspace/HTTP_master@libs/common-pipe # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/common-pipe.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://gitlab.com/yasys/common-pipe.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /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 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://gitlab.com/yasys/common-pipe.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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'" First time build. Skipping changelog. > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' fatal: bad object 0b30bc4e918097575eab0885b2edb71afa83a982 [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/HTTP_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential kyberorg_gl Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://gitlab.com/kyberorg/kaart4jimny.git > /usr/bin/git init /var/lib/jenkins/workspace/HTTP_master # timeout=10 Fetching upstream changes from https://gitlab.com/kyberorg/kaart4jimny.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://gitlab.com/kyberorg/kaart4jimny.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/kaart4jimny.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/kaart4jimny.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/kyberorg/kaart4jimny.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://gitlab.com/kyberorg/kaart4jimny.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision ba0d63bc3a9fdabaf97b56be196d4d879b07c650 (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f ba0d63bc3a9fdabaf97b56be196d4d879b07c650 # timeout=10 Commit message: "Merge branch 'deployToKube' into 'master'" First time build. Skipping changelog. > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.20.1' fatal: bad object 0b30bc4e918097575eab0885b2edb71afa83a982 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Docker) [Pipeline] script [Pipeline] { [Pipeline] sh + set +x Sending build context to Docker daemon 47.84MB Step 1/6 : FROM nginx:stable ---> 2ad6b739fe1c Step 2/6 : COPY site.template /tmp/site.template ---> Using cache ---> 679d404cf91a Step 3/6 : COPY app /srv ---> 9b0d703f7fa4 Step 4/6 : ENV EE_HOST=ee RU_HOST=ru EN_HOST=en ---> Running in 7fa0827f4790 Removing intermediate container 7fa0827f4790 ---> a1956f3b6124 Step 5/6 : CMD /bin/bash -c "envsubst < /tmp/site.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'" ---> Running in d1201ab1ea08 Removing intermediate container d1201ab1ea08 ---> b78826ecf876 Step 6/6 : EXPOSE 8080 ---> Running in cbe5434b815c Removing intermediate container cbe5434b815c ---> 7fb1d62ffcf1 Successfully built 7fb1d62ffcf1 Successfully tagged kyberorg/kaart4jimny:master [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/kaart4jimny] 1d61ed8f6d94: Preparing 6854bd493f08: Preparing a5f9f505aede: Preparing 11bfb51390a5: Preparing bf0ea8c01f3a: Preparing c555e163f015: Preparing d0f104dc0a1f: Preparing d0f104dc0a1f: Waiting c555e163f015: Waiting 1d61ed8f6d94: Waiting 11bfb51390a5: Layer already exists a5f9f505aede: Layer already exists bf0ea8c01f3a: Layer already exists c555e163f015: Layer already exists d0f104dc0a1f: Layer already exists 6854bd493f08: Pushed 1d61ed8f6d94: Pushed master: digest: sha256:8adddb19dcd0101024f1ac3e2ba7b9f9e208ab5d2f68b1d1053cdf8381e1b761 size: 1780 [Pipeline] sh + set +x Removing login credentials for https://index.docker.io/v1/ [Pipeline] sh + set +x Untagged: kyberorg/kaart4jimny:master Untagged: kyberorg/kaart4jimny@sha256:8adddb19dcd0101024f1ac3e2ba7b9f9e208ab5d2f68b1d1053cdf8381e1b761 Deleted: sha256:7fb1d62ffcf18b09575a6de66ff89d72f9a0dd7ffada7fea1391da9fffb787b9 Deleted: sha256:b78826ecf876f9381bbfb7464bd2a656d62ff7bacbd929a984fded78ecc296d6 Deleted: sha256:a1956f3b612405ca4c278e4ed6676b1461876d21833157de30e35282d7add133 Deleted: sha256:9b0d703f7fa406375104b3c99524dde0dccea14685edfcdfd3f6fa967cb88485 Deleted: sha256:f6a1aaf69238fd2e906023fc9f5e4fdacfb24d00a55a4a0546d6563af10119fa Deleted: sha256:679d404cf91a53f1f0bc97e3dbc392f821c81e064c9740f5be0747dd2d519bdd [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy to K8S) [Pipeline] script [Pipeline] { [Pipeline] sh + kubectl -n prod-static-web set image deployment/kaart4jimny-app app=kyberorg/kaart4jimny:master --record deployment.apps/kaart4jimny-app image updated [Pipeline] sh + kubectl -n prod-static-web rollout restart deployment/kaart4jimny-app deployment.apps/kaart4jimny-app restarted [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS