SuccessConsole Output

Started by user Toor Admin
Running as Toor Admin
12:40:10 Connecting to https://api.github.com using toor/****** (GitHub Access Token)
Obtained Jenkinsfile from e312d2273d7c06ed8a77409cf618b064ded9d316
Running in Durability level: MAX_SURVIVABILITY
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
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
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
[Checks API] No suitable checks publisher found.
Loading library common-lib@1.7
Attempting to resolve 1.7 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.7 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.7^{commit} # timeout=10
 > /usr/bin/git branch -a -v --no-abbrev --contains 0dbc0c46c784d86e1bcb06ecf3f84a8bf721d957 # timeout=10
Selected match: master revision 0dbc0c46c784d86e1bcb06ecf3f84a8bf721d957
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
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 0dbc0c46c784d86e1bcb06ecf3f84a8bf721d957 (master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 0dbc0c46c784d86e1bcb06ecf3f84a8bf721d957 # timeout=10
Commit message: "Merge branch '2-support-for-build-args' into 'master'"
 > /usr/bin/git rev-list --no-walk 0dbc0c46c784d86e1bcb06ecf3f84a8bf721d957 # timeout=10
[Checks API] No suitable checks publisher found.
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/yals-poc-frontend_master
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential github
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/kyberorg-lab/yals-poc-frontend.git
 > /usr/bin/git init /var/lib/jenkins/workspace/yals-poc-frontend_master # timeout=10
Fetching upstream changes from https://github.com/kyberorg-lab/yals-poc-frontend.git
 > /usr/bin/git --version # timeout=10
 > git --version # 'git version 2.20.1'
using GIT_ASKPASS to set credentials GitHub Access Token
 > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg-lab/yals-poc-frontend.git +refs/heads/master:refs/remotes/origin/master # timeout=10
 > /usr/bin/git config remote.origin.url https://github.com/kyberorg-lab/yals-poc-frontend.git # timeout=10
 > /usr/bin/git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
Avoid second fetch
Checking out Revision e312d2273d7c06ed8a77409cf618b064ded9d316 (master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f e312d2273d7c06ed8a77409cf618b064ded9d316 # timeout=10
 > /usr/bin/git branch -a -v --no-abbrev # timeout=10
 > /usr/bin/git checkout -b master e312d2273d7c06ed8a77409cf618b064ded9d316 # timeout=10
Commit message: "Info component ready"
 > /usr/bin/git rev-list --no-walk e312d2273d7c06ed8a77409cf618b064ded9d316 # timeout=10
Cleaning workspace
 > /usr/bin/git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > /usr/bin/git reset --hard # timeout=10
 > /usr/bin/git clean -fdx # timeout=10
[Checks API] No suitable checks publisher found.
[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  593.9kB

Step 1/8 : FROM node:12.11 AS ANGULAR_BUILD
 ---> a8d7efbae951
Step 2/8 : RUN npm install -g @angular/cli@10.0.5
 ---> Using cache
 ---> ffc481550a3d
Step 3/8 : ARG BUILD_ENV=production
 ---> Using cache
 ---> d89007fb6f06
Step 4/8 : COPY . /app
 ---> Using cache
 ---> 8f71e3c2901a
Step 5/8 : WORKDIR /app
 ---> Using cache
 ---> 032571513bc8
Step 6/8 : RUN npm install && ng build --configuration $BUILD_ENV
 ---> Using cache
 ---> 23210a59fb8c
Step 7/8 : FROM nginx:1.19.2-alpine
 ---> 6f715d38cfe0
Step 8/8 : COPY --from=ANGULAR_BUILD /app/dist/yals /usr/share/nginx/html
 ---> 69af8878b557
Successfully built 69af8878b557
Successfully tagged kyberorglab/yals-ui: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/kyberorglab/yals-ui]
0a2f329251b8: Preparing
6ad8d562c843: Preparing
425ee8569962: Preparing
5d9ee84be1ec: Preparing
6bcd003260b2: Preparing
50644c29ef5a: Preparing
50644c29ef5a: Waiting
6ad8d562c843: Layer already exists
425ee8569962: Layer already exists
6bcd003260b2: Layer already exists
5d9ee84be1ec: Layer already exists
50644c29ef5a: Layer already exists
0a2f329251b8: Pushed
master: digest: sha256:ca4741667f8162d7b09c36017d503d00756d5bf51e9a9d90e4b7b233400f362f size: 1570
[Pipeline] sh
+ set +x
Removing login credentials for https://index.docker.io/v1/
[Pipeline] sh
+ set +x
Untagged: kyberorglab/yals-ui:master
Untagged: kyberorglab/yals-ui@sha256:ca4741667f8162d7b09c36017d503d00756d5bf51e9a9d90e4b7b233400f362f
Deleted: sha256:69af8878b557e89bbf398e9641284d648412f3e1c04b3a0bb9abcfb1ddc2cc03
Deleted: sha256:8e9992fbd7a5eb3361757213ac2f03b0fceeb574f8946ea8fd04acb46fb6b854
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy to K8S)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ kubectl -n lab-yals set image deployment/yals-app app=kyberorglab/yals-ui:master --record
deployment.apps/yals-app image updated
[Pipeline] sh
+ kubectl -n lab-yals rollout restart deployment/yals-app
deployment.apps/yals-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
[Checks API] No suitable checks publisher found.

GitHub has been notified of this commit’s build result

Finished: SUCCESS