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/api Seen branch in repository origin/master Seen branch in repository origin/notes Seen 3 remote branches Obtained Jenkinsfile from bd5997d1d0cf052067aa32b1da2cb72f0fa2edd7 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/Angular_Learning_App_notes@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/Angular_Learning_App_notes@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/Angular_Learning_App_notes [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_notes # 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 bd5997d1d0cf052067aa32b1da2cb72f0fa2edd7 (notes) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f bd5997d1d0cf052067aa32b1da2cb72f0fa2edd7 # timeout=10 Commit message: "Notes" 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 667.6kB Step 1/17 : FROM node:12.11 AS ANGULAR_BUILD ---> a8d7efbae951 Step 2/17 : RUN npm install -g @angular/cli@10.0.5 ---> Using cache ---> ffc481550a3d Step 3/17 : COPY webapp /webapp ---> 7c73d1d9c0c3 Step 4/17 : WORKDIR webapp ---> Running in 5c96a617319e Removing intermediate container 5c96a617319e ---> 651f92ca3565 Step 5/17 : RUN npm install && ng build --prod ---> Running in 9fa982b075c8 > 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 1215 contributors and audited 1467 packages in 26.608s 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.bc6296464bb1bf5bd52a.js (main) 267 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-25T08:49:41.280Z - Hash: df21db416a5ffd7fd81e - Time: 25922ms   Removing intermediate container 9fa982b075c8 ---> a482239b3753 Step 6/17 : FROM golang:1.14.7 AS GO_BUILD ---> baaca3151cdb Step 7/17 : COPY server / ---> Using cache ---> df6e376b3df7 Step 8/17 : WORKDIR / ---> Using cache ---> ecd4c34e93c4 Step 9/17 : COPY server/go.mod server/go.sum ./ ---> Using cache ---> 17efc81843ed Step 10/17 : RUN go mod download ---> Using cache ---> 0fce5fd39396 Step 11/17 : COPY server / ---> Using cache ---> 0fa27502e7ea Step 12/17 : RUN go build -a -ldflags '-extldflags "-static"' -o /server main.go ---> Using cache ---> 1683ea638a2e Step 13/17 : FROM alpine:3.12 ---> a24bb4013296 Step 14/17 : COPY --from=ANGULAR_BUILD /webapp/dist/webapp/* ./webapp/dist/webapp/ ---> f0aa63db5c1e Step 15/17 : COPY --from=GO_BUILD /server ./ ---> 427b3b6d0db6 Step 16/17 : CMD ./server ---> Running in bd8f7bb6fe64 Removing intermediate container bd8f7bb6fe64 ---> 25e075ffb457 Step 17/17 : EXPOSE 8080 ---> Running in 154cd24e6fe8 Removing intermediate container 154cd24e6fe8 ---> fcc9b451d300 Successfully built fcc9b451d300 Successfully tagged kyberorg/ang:notes [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] 1e6a787b8d31: Preparing eba639930484: Preparing 50644c29ef5a: Preparing 50644c29ef5a: Layer already exists 1e6a787b8d31: Layer already exists eba639930484: Pushed notes: digest: sha256:8daeb2d7adb1b9c0908c3f1e753ad5d4a0f3791934f52a2704345732f9fe7a8e size: 949 [Pipeline] sh + set +x Removing login credentials for https://index.docker.io/v1/ [Pipeline] sh + set +x Untagged: kyberorg/ang:notes Untagged: kyberorg/ang@sha256:8daeb2d7adb1b9c0908c3f1e753ad5d4a0f3791934f52a2704345732f9fe7a8e Deleted: sha256:fcc9b451d300863ba8f4d76bcf38e2eb095f6597580a87629e703c79809f6214 Deleted: sha256:25e075ffb457ff7c151c30a0bd03aabfc7319e1cd57417fc2df3fef5ee36afd7 Deleted: sha256:427b3b6d0db6ffa7f962fa393aee7406f6def47e9e56cac88ccf9fc11bdff1b3 Deleted: sha256:5dcc5c9e0811f10fd97de29cc1ca29c3e0e1bf8cc78cba137d3819851c64cfc6 Deleted: sha256:f0aa63db5c1e2edb657ad3716794a0afe7de36c1d7d8e7a8d28af91e23f3bca1 Deleted: sha256:bf3ee471d251625a2b1d83ff5b23a4cfa93bc39e2c88706ec4a765af9ef3bd80 [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:notes --record deployment.apps/ang-app image updated [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