Branch indexing
12:02:13 Connecting to https://api.github.com using toor/****** (GitHub Access Token)
Obtained Jenkinsfile from f5b730de660e32bfc73e49d1561b94c0b2c92111
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_10-home
[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_10-home # 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/10-home:refs/remotes/origin/10-home # 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/10-home:refs/remotes/origin/10-home # timeout=10
Avoid second fetch
Checking out Revision f5b730de660e32bfc73e49d1561b94c0b2c92111 (10-home)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f f5b730de660e32bfc73e49d1561b94c0b2c92111 # timeout=10
> /usr/bin/git branch -a -v --no-abbrev # timeout=10
> /usr/bin/git checkout -b 10-home f5b730de660e32bfc73e49d1561b94c0b2c92111 # timeout=10
Commit message: "Stop exposing fucking token"
> /usr/bin/git rev-list --no-walk c4daddcac5b9f1ca992252cc110c35b2f6a05ec5 # 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] withCredentials
Masking supported pattern matches of $MDB_TOKEN
[Pipeline] {
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ set +x
Sending build context to Docker daemon 57.34kB
Step 1/11 : FROM node:12.11 AS ANGULAR_BUILD
---> a8d7efbae951
Step 2/11 : RUN npm install -g @angular/cli@10.0.6
---> Using cache
---> e00ffc955f5e
Step 3/11 : ARG MDB_GITLAB_TOKEN=valid_token_here_please
---> Using cache
---> 61c317726580
Step 4/11 : ENV GITLAB_TOKEN=$MDB_GITLAB_TOKEN
---> Using cache
---> 461d9deaae3c
Step 5/11 : ARG BUILD_ENV=production
---> Using cache
---> 531b35dfee11
Step 6/11 : COPY . /app
---> 5a99330c8d68
Step 7/11 : WORKDIR /app
---> Running in c633469ceabe
Removing intermediate container c633469ceabe
---> 56eb1758b3b3
Step 8/11 : RUN apt update && apt install gettext-base
---> Running in 35586730ed75
[91m
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
[0mIgn:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2410 B]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [602 kB]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages [2596 B]
Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [7080 kB]
Fetched 7951 kB in 2s (3726 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
102 packages can be upgraded. Run 'apt list --upgradable' to see them.
[91m
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
[0mReading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
gettext-base
0 upgraded, 1 newly installed, 0 to remove and 102 not upgraded.
Need to get 122 kB of archives.
After this operation, 735 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 gettext-base amd64 0.19.8.1-2+deb9u1 [122 kB]
[91mdebconf: delaying package configuration, since apt-utils is not installed
[0mFetched 122 kB in 0s (4697 kB/s)
Selecting previously unselected package gettext-base.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29962 files and directories currently installed.)
Preparing to unpack .../gettext-base_0.19.8.1-2+deb9u1_amd64.deb ...
Unpacking gettext-base (0.19.8.1-2+deb9u1) ...
Setting up gettext-base (0.19.8.1-2+deb9u1) ...
Removing intermediate container 35586730ed75
---> f44458d6e3eb
Step 9/11 : RUN mv /app/package.json /app/package.json.tmp && envsubst < /app/package.json.tmp > /app/package.json && npm install && ng build --configuration $BUILD_ENV
---> Running in 6fc8de2b3c2d
[91mnpm WARN deprecated tslint@6.1.3: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
[0m[91mnpm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
[0m[91mnpm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[0m[91mnpm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
[0m[91mnpm WARN deprecated har-validator@5.1.5: this library is no longer supported
[0m[91mnpm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[0m[91mnpm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
[0m[91mnpm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t https://oauth2:_iBVy6W6TwDgvKabe9-w@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git
npm ERR!
npm ERR! remote: HTTP Basic: Access denied
npm ERR! fatal: Authentication failed for 'https://oauth2:_iBVy6W6TwDgvKabe9-w@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git/'
npm ERR!
npm ERR![0m[91m exited with error code: 128
[0m[91m
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-08T09_02_48_142Z-debug.log
[0mThe command '/bin/sh -c mv /app/package.json /app/package.json.tmp && envsubst < /app/package.json.tmp > /app/package.json && npm install && ng build --configuration $BUILD_ENV' returned a non-zero code: 1
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy to K8S)
Stage "Deploy to K8S" skipped due to earlier failure(s)
[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
ERROR: script returned exit code 1
Finished: FAILURE