SuccessConsole Output

Started by user Toor Admin
Running as Toor Admin
 > /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
 > /usr/bin/git rev-parse refs/tags/v0.0^{commit} # timeout=10
Obtained Jenkinsfile from 57fdac920a71129dff6a79dfd126c76bceda99a0
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/NG-GO_v0.0@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/NG-GO_v0.0@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/NG-GO_v0.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential kyberorg_gl
Cloning the remote Git repository
Cloning with configured refspecs honoured and with tags
Cloning repository https://github.com/kyberorg/ng-go.git
 > /usr/bin/git init /var/lib/jenkins/workspace/NG-GO_v0.0 # 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 --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 with tags
Fetching upstream changes from https://github.com/kyberorg/ng-go.git
using GIT_ASKPASS to set credentials Kyberorg GitLab
 > /usr/bin/git fetch --tags --force --progress -- https://github.com/kyberorg/ng-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 57fdac920a71129dff6a79dfd126c76bceda99a0 (v0.0)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 57fdac920a71129dff6a79dfd126c76bceda99a0 # timeout=10
Commit message: "Migrated to Gin-Gonic (#1)"
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  4.055MB

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
 ---> 674ad57736cf
Step 8/15 : WORKDIR /server
 ---> Using cache
 ---> 2a3bc1510d86
Step 9/15 : RUN go build -o /go/bin/server
 ---> Using cache
 ---> 16a662113ff2
Step 10/15 : FROM alpine:3.10
 ---> be4e4bea2c2e
Step 11/15 : WORKDIR app
 ---> Running in 04db7b49a546
Removing intermediate container 04db7b49a546
 ---> d585eee151c2
Step 12/15 : COPY --from=ANGULAR_BUILD /webapp/dist/webapp/* ./webapp/dist/webapp/
 ---> f3a080d0f4fe
Step 13/15 : COPY --from=GO_BUILD /go/bin/server ./
 ---> 996d998a56f1
Step 14/15 : RUN ls
 ---> Running in 2cdcb5948ba2
server
webapp
Removing intermediate container 2cdcb5948ba2
 ---> 37c17852c56c
Step 15/15 : CMD ./server
 ---> Running in 90faaa45d456
Removing intermediate container 90faaa45d456
 ---> 4c68c8e86307
Successfully built 4c68c8e86307
Successfully tagged kyberorg/nggo:v0.0
[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]
43d9474135af: Preparing
0da7ab1029f0: Preparing
5eba622ac17b: Preparing
1b3ee35aacca: Preparing
1b3ee35aacca: Layer already exists
5eba622ac17b: Pushed
0da7ab1029f0: Pushed
43d9474135af: Pushed
v0.0: digest: sha256:5b084de6b4edcf2fb589d18913546015745a40a176e9668c9fad52a71dbe63e9 size: 1156
[Pipeline] sh
+ set +x
Removing login credentials for https://index.docker.io/v1/
[Pipeline] sh
+ set +x
Untagged: kyberorg/nggo:v0.0
Untagged: kyberorg/nggo@sha256:5b084de6b4edcf2fb589d18913546015745a40a176e9668c9fad52a71dbe63e9
Deleted: sha256:4c68c8e863070bdf50a0c7ee1d5e7d53ed8b88968435b9a8e7fbebf9bb2ed312
Deleted: sha256:37c17852c56c556ef6d6cb16dba03e5ec43329954a149a4a1b4d3bc16fd16d05
Deleted: sha256:996d998a56f11aeac14c36486654517c0eca18ebeba15d831b239d91c1307e33
Deleted: sha256:1a979d56f8e37d8f2ef1d42106585f49ec33607675e63f9de7212d3d7196b6b4
Deleted: sha256:f3a080d0f4fedf8a4697e99923cd9ae80d5420ecc9c0414913d5d57149e90293
Deleted: sha256:8473af4d227e716000a9bdae635d41bfe4770906bf98d0c5e08ed7dba507af24
Deleted: sha256:d585eee151c27cc5d44d31aa89e5cf32c16f59853e8ecdc4eef82a0ca83c12f2
Deleted: sha256:ed49551c6fcffae5aa59f696e4bb44066213aa68c54fd2b5af1a3ea9d5084209
[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:v0.0 --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