Branch indexing > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://github.com/kyberorg/ng-go.git > /usr/bin/git config remote.origin.url https://github.com/kyberorg/ng-go.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/dependabot/npm_and_yarn/webapp/npm-registry-fetch-4.0.5 Seen branch in repository origin/dependabot/npm_and_yarn/webapp/websocket-extensions-0.1.4 Seen branch in repository origin/master Seen 3 remote branches Obtained Jenkinsfile from 6567df672ce37994aec9e69e47c02d4788f536fd 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 > /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 > 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 Checking out Revision 0b30bc4e918097575eab0885b2edb71afa83a982 (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 0b30bc4e918097575eab0885b2edb71afa83a982 # timeout=10 Commit message: "deployToKube" > /usr/bin/git rev-list --no-walk 0b30bc4e918097575eab0885b2edb71afa83a982 # timeout=10 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 > /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 > 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 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 [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/NG-GO_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://github.com/kyberorg/ng-go.git > /usr/bin/git init /var/lib/jenkins/workspace/NG-GO_master # timeout=10 Fetching upstream changes from https://github.com/kyberorg/ng-go.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://github.com/kyberorg/ng-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://github.com/kyberorg/ng-go.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://github.com/kyberorg/ng-go.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/kyberorg/ng-go.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg/ng-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6567df672ce37994aec9e69e47c02d4788f536fd (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 6567df672ce37994aec9e69e47c02d4788f536fd # timeout=10 Commit message: "Updating Workload name" > /usr/bin/git rev-list --no-walk e29adb74a0dec8337f8c56f732e87ddf2de940c2 # timeout=10 [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 4.045MB Step 1/15 : FROM node:12.11 AS ANGULAR_BUILD ---> a8d7efbae951 Step 2/15 : RUN npm install -g @angular/cli@8.3.12 ---> Using cache ---> 9289bde24475 Step 3/15 : COPY webapp /webapp ---> Using cache ---> a79caba3ebc0 Step 4/15 : WORKDIR webapp ---> Using cache ---> 5c383a73640d Step 5/15 : RUN npm install && ng build --prod ---> Using cache ---> ef48ff3499dd Step 6/15 : FROM golang:1.13.1-alpine AS GO_BUILD ---> 48260c3da24c Step 7/15 : COPY server /server ---> Using cache ---> 199f1eef3ef3 Step 8/15 : WORKDIR /server ---> Using cache ---> 58f360f4adcb Step 9/15 : RUN go build -o /go/bin/server ---> Using cache ---> ee42d1a6ade1 Step 10/15 : FROM alpine:3.10 ---> be4e4bea2c2e Step 11/15 : WORKDIR app ---> Running in b30e5a902e76 Removing intermediate container b30e5a902e76 ---> c90563f3cb4d Step 12/15 : COPY --from=ANGULAR_BUILD /webapp/dist/webapp/* ./webapp/dist/webapp/ ---> bf1d38fb8f84 Step 13/15 : COPY --from=GO_BUILD /go/bin/server ./ ---> a7175f1c2654 Step 14/15 : RUN ls ---> Running in 07189f3502ae server webapp Removing intermediate container 07189f3502ae ---> 0ae5f5b111e4 Step 15/15 : CMD ./server ---> Running in 6331dd21c943 Removing intermediate container 6331dd21c943 ---> 35e7acf0f93a Successfully built 35e7acf0f93a Successfully tagged kyberorg/nggo: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/nggo] 2c93d68d7bad: Preparing 1780e94ae494: Preparing c543f348fc76: Preparing 1b3ee35aacca: Preparing 1b3ee35aacca: Layer already exists c543f348fc76: Pushed 1780e94ae494: Pushed 2c93d68d7bad: Pushed master: digest: sha256:e9261ee959ab4c91a67900749a67038fe3691b797098feb2a5004c2e93a6c469 size: 1156 [Pipeline] sh + set +x Removing login credentials for https://index.docker.io/v1/ [Pipeline] sh + set +x Untagged: kyberorg/nggo:master Untagged: kyberorg/nggo@sha256:e9261ee959ab4c91a67900749a67038fe3691b797098feb2a5004c2e93a6c469 Deleted: sha256:35e7acf0f93ad37c91e1e49532f1217277d52340fb9bce85b20ff775621093fd Deleted: sha256:0ae5f5b111e486d0c8d1b8467ceab4601ef8698c46e6a08523f14962d403e759 Deleted: sha256:a7175f1c2654b0db02cb8c5bad18fa78c4e672da7e061eb1cf722321da26085e Deleted: sha256:5b5f5265abbeeb0cf4cf13bb836194e6eb5462178f3c66b135a913bc9c74e46f Deleted: sha256:bf1d38fb8f84ab07f6bf7e6e1e7d8ce9725b0d68d3d316e984c2b95ba1c8e107 Deleted: sha256:303f84e2dc855958ab13cf3b41d830ff1e907068beb36a4cd6ed67b4ba16e3b8 Deleted: sha256:c90563f3cb4d3c8af0b2319306fd757980093e2dcbcc9a37a541c3db8af9adf6 Deleted: sha256:39f18941640143e1e52cdb73dd55c1072fb3cdb4089853e4a08a250fb1e61070 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy to K8S) [Pipeline] script [Pipeline] { [Pipeline] sh + kubectl -n dev-nggo set image deployment/nggo-app app=kyberorg/nggo:master --record deployment.apps/nggo-app image updated [Pipeline] sh + kubectl -n dev-nggo rollout restart deployment/nggo-app deployment.apps/nggo-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