Branch indexing > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://github.com/kyberorg/ang.git > /usr/bin/git config remote.origin.url https://github.com/kyberorg/ang.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/master Seen 1 remote branch Obtained Jenkinsfile from 544e41cf794c99a8ac5a439aacd845f1d6e6ec5e 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/Angular_Learning_App_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/ang.git > /usr/bin/git init /var/lib/jenkins/workspace/Angular_Learning_App_master # timeout=10 Fetching upstream changes from https://github.com/kyberorg/ang.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/ang.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://github.com/kyberorg/ang.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/ang.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/kyberorg/ang.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg/ang.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 544e41cf794c99a8ac5a439aacd845f1d6e6ec5e (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 544e41cf794c99a8ac5a439aacd845f1d6e6ec5e # timeout=10 Commit message: "Component: props and usage" > /usr/bin/git rev-list --no-walk dbfe16c150f053c37f4d11ef9b14ad98e02e5553 # 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 598kB Step 1/16 : FROM node:12.11 AS ANGULAR_BUILD ---> a8d7efbae951 Step 2/16 : RUN npm install -g @angular/cli@10.0.5 ---> Using cache ---> ffc481550a3d Step 3/16 : COPY webapp /webapp ---> 99fd495e7357 Step 4/16 : WORKDIR webapp ---> Running in 105da24716a2 Removing intermediate container 105da24716a2 ---> 1941bcc2f32f Step 5/16 : RUN npm install && ng build --prod ---> Running in 5c2c83a07908 > core-js@3.6.4 postinstall /webapp/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:  > https://opencollective.com/core-js  > https://www.patreon.com/zloirock  Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) > @angular/cli@10.0.5 postinstall /webapp/node_modules/@angular/cli > node ./bin/postinstall/script.js npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})  added 1459 packages from 1216 contributors and audited 1467 packages in 26.768s found 0 vulnerabilities Compiling @angular/core : es2015 as esm2015 Compiling @angular/animations : es2015 as esm2015 Compiling @angular/compiler/testing : es2015 as esm2015 Compiling @angular/common : es2015 as esm2015 Compiling @angular/core/testing : es2015 as esm2015 Compiling @angular/animations/browser : es2015 as esm2015 Compiling @angular/platform-browser : es2015 as esm2015 Compiling @angular/common/http : es2015 as esm2015 Compiling @angular/common/testing : es2015 as esm2015 Compiling @angular/platform-browser-dynamic : es2015 as esm2015 Compiling @angular/platform-browser/testing : es2015 as esm2015 Compiling @angular/router : es2015 as esm2015 Compiling @angular/animations/browser/testing : es2015 as esm2015 Compiling @angular/common/http/testing : es2015 as esm2015 Compiling @angular/forms : es2015 as esm2015 Compiling @angular/platform-browser/animations : es2015 as esm2015 Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015 Compiling @angular/router/testing : es2015 as esm2015  chunk {} runtime.e227d1a0e31cbccbf8ec.js (runtime) 1.45 kB [entry] [rendered] chunk {1} main.3da08f336be32aed1cc9.js (main) 186 kB [initial] [rendered] chunk {2} polyfills.a4021de53358bb0fec14.js (polyfills) 36.1 kB [initial] [rendered] chunk {3} styles.3ff695c00d717f2d2a11.css (styles) 0 bytes [initial] [rendered] Date: 2020-08-12T07:22:24.866Z - Hash: eacba145a924c5afff7d - Time: 21872ms  Removing intermediate container 5c2c83a07908 ---> 2f81b6c420cd Step 6/16 : FROM golang:1.14.7-alpine AS GO_BUILD ---> cda74ca0cbba Step 7/16 : COPY server /server ---> Using cache ---> 33de6348929b Step 8/16 : WORKDIR /server ---> Using cache ---> 90ea22f95018 Step 9/16 : RUN go build -o /go/bin/server ---> Using cache ---> 000af0056f6a Step 10/16 : FROM alpine:3.12 ---> a24bb4013296 Step 11/16 : WORKDIR app ---> Running in d37c8b57195e Removing intermediate container d37c8b57195e ---> 4d9bf9aca21f Step 12/16 : COPY --from=ANGULAR_BUILD /webapp/dist/webapp/* ./webapp/dist/webapp/ ---> c469820239e4 Step 13/16 : COPY --from=GO_BUILD /go/bin/server ./ ---> 819f62bb2380 Step 14/16 : RUN ls ---> Running in eef09fe1baa4 server webapp Removing intermediate container eef09fe1baa4 ---> 06219f436a82 Step 15/16 : CMD ./server ---> Running in 0715cbd52a16 Removing intermediate container 0715cbd52a16 ---> cabc2efad871 Step 16/16 : EXPOSE 8080 ---> Running in e4e8bc5d4df4 Removing intermediate container e4e8bc5d4df4 ---> cf1d703491ea Successfully built cf1d703491ea Successfully tagged kyberorg/ang: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/ang] 54a8677fb010: Preparing 24fc9a26ea9c: Preparing c44f93637b1e: Preparing 50644c29ef5a: Preparing 50644c29ef5a: Layer already exists c44f93637b1e: Pushed 24fc9a26ea9c: Pushed 54a8677fb010: Pushed master: digest: sha256:5727aa51e58efbe1dc34445f986a1657bd07945eeab72c70674c69fec0a50f41 size: 1155 [Pipeline] sh + set +x Removing login credentials for https://index.docker.io/v1/ [Pipeline] sh + set +x Untagged: kyberorg/ang:master Untagged: kyberorg/ang@sha256:5727aa51e58efbe1dc34445f986a1657bd07945eeab72c70674c69fec0a50f41 Deleted: sha256:cf1d703491ead0a79cf2597acec759b2716d93f50eab3b3bc998d33481b1d191 Deleted: sha256:cabc2efad871a2d2b22b9562fd3cd5b3d9eb7d6f1a52d3e838ad345481e1e8aa Deleted: sha256:06219f436a82bfc51fcc7dd12f4bdd7032ae4cb9d803f3462c1748d6db16446b Deleted: sha256:819f62bb238013d46a080bf014585e5b6da02fbcd51a7fc79bbfcf4e1cf3612c Deleted: sha256:e6e1e871fbbb7207296271894aec7df3413af29480af23f07b875de4a60b7c56 Deleted: sha256:c469820239e4a9dcc7e5dbf432e6b3f8e618fa22f17eeb19dd2e949f27cb6dc8 Deleted: sha256:c1b69df43461b7a9201680388170d930dafc51ad2d8e3d691394c5f3cb602fc3 Deleted: sha256:4d9bf9aca21f521f8336c42e1d7d96c2bafe445adaeb8a86be8370a7d59a1988 Deleted: sha256:020602bf08de99f90f811e6b7b33e4cb8b0e4783453bfee6fd3c2953bb171c63 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy to K8S) [Pipeline] script [Pipeline] { [Pipeline] sh + kubectl -n dev-ang set image deployment/ang-app app=kyberorg/ang:master --record [Pipeline] sh + kubectl -n dev-ang rollout restart deployment/ang-app deployment.apps/ang-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