Branch indexing > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://github.com/kyberorg/ng-samples.git > /usr/bin/git config remote.origin.url https://github.com/kyberorg/ng-samples.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 87a92295b7702ac4fee51c602562e5341a7593a9 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-samples_master@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-samples_master@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-samples_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/ng-samples.git > /usr/bin/git init /var/lib/jenkins/workspace/ng-samples_master # timeout=10 Fetching upstream changes from https://github.com/kyberorg/ng-samples.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/ng-samples.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://github.com/kyberorg/ng-samples.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-samples.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/kyberorg/ng-samples.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg/ng-samples.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 87a92295b7702ac4fee51c602562e5341a7593a9 (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 87a92295b7702ac4fee51c602562e5341a7593a9 # timeout=10 Commit message: "Adding Dockerfile and Jenkinsfile to git" 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 883.2kB Step 1/6 : FROM node:14.7.0 as node 14.7.0: Pulling from library/node 419e7ae5bb1e: Pulling fs layer 848839e0cd3b: Pulling fs layer de30e8b35015: Pulling fs layer 258fdea6ea48: Pulling fs layer ddb75eb7f1e9: Pulling fs layer 7ec8a0667334: Pulling fs layer 7c53f6037242: Pulling fs layer 42574776fa37: Pulling fs layer 74fba464c705: Pulling fs layer 258fdea6ea48: Waiting ddb75eb7f1e9: Waiting 7ec8a0667334: Waiting 7c53f6037242: Waiting 42574776fa37: Waiting 74fba464c705: Waiting de30e8b35015: Verifying Checksum de30e8b35015: Download complete 848839e0cd3b: Verifying Checksum 848839e0cd3b: Download complete 419e7ae5bb1e: Verifying Checksum 419e7ae5bb1e: Download complete 258fdea6ea48: Verifying Checksum 258fdea6ea48: Download complete 7ec8a0667334: Verifying Checksum 7ec8a0667334: Download complete 42574776fa37: Verifying Checksum 42574776fa37: Download complete 7c53f6037242: Verifying Checksum 7c53f6037242: Download complete 74fba464c705: Verifying Checksum 74fba464c705: Download complete ddb75eb7f1e9: Verifying Checksum ddb75eb7f1e9: Download complete 419e7ae5bb1e: Pull complete 848839e0cd3b: Pull complete de30e8b35015: Pull complete 258fdea6ea48: Pull complete ddb75eb7f1e9: Pull complete 7ec8a0667334: Pull complete 7c53f6037242: Pull complete 42574776fa37: Pull complete 74fba464c705: Pull complete Digest: sha256:94a00394bc5a8ef503fb59db0a7d0ae9e1119866e8aee8ba40cd864cea69ea1a Status: Downloaded newer image for node:14.7.0 ---> 002df0b34ccb Step 2/6 : WORKDIR /app ---> Running in f54f0b674b01 Removing intermediate container f54f0b674b01 ---> b0f507919132 Step 3/6 : COPY . . ---> c45bca6b02af Step 4/6 : RUN npm install && npm build --prod ---> Running in ec0f812c9a7b > core-js@3.6.4 postinstall /app/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 /app/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 33.331s 61 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm WARN build `npm build` called with no arguments. Did you mean to `npm run-script build`? Removing intermediate container ec0f812c9a7b ---> 11d3b952232f Step 5/6 : FROM nginx:1.19.1-alpine 1.19.1-alpine: Pulling from library/nginx cbdbe7a5bc2a: Pulling fs layer 85434292d1cb: Pulling fs layer 75fcb1e58684: Pulling fs layer 2a8fe5451faf: Pulling fs layer 42ceeab04dd4: Pulling fs layer 2a8fe5451faf: Waiting 42ceeab04dd4: Waiting 75fcb1e58684: Download complete cbdbe7a5bc2a: Verifying Checksum 85434292d1cb: Verifying Checksum 85434292d1cb: Download complete 2a8fe5451faf: Verifying Checksum 2a8fe5451faf: Download complete 42ceeab04dd4: Verifying Checksum 42ceeab04dd4: Download complete cbdbe7a5bc2a: Pull complete 85434292d1cb: Pull complete 75fcb1e58684: Pull complete 2a8fe5451faf: Pull complete 42ceeab04dd4: Pull complete Digest: sha256:ee8c35a6944eb3cc415cd4cbeddef13927895d4ffa50b976886e3abe48b3f35a Status: Downloaded newer image for nginx:1.19.1-alpine ---> ecd67fe340f9 Step 6/6 : COPY --from=node /app/dist/ng-samples /usr/share/nginx/html COPY failed: stat /var/lib/docker/overlay2/91f4a69c4f204fc4242a71ac0999d3e0168cd022691395000e2a0c4bbc0d6418/merged/app/dist/ng-samples: no such file or directory [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 ERROR: script returned exit code 1 Finished: FAILURE