Console Output
Branch indexing
> /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://gitlab.com/kyberorg/http.git
> /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/http.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 5eced10e5b364be3a852f6a56683fe1b11deb5e7
Running in Durability level: MAX_SURVIVABILITY
Only using first definition of library common-lib
Loading library common-lib@1.6.1
Attempting to resolve 1.6.1 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.1 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.1^{commit} # timeout=10
> /usr/bin/git branch -a -v --no-abbrev --contains 6e7999b3c529701d8bc810224f62920b2d78c8b0 # timeout=10
Selected match: master revision 6e7999b3c529701d8bc810224f62920b2d78c8b0
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 6e7999b3c529701d8bc810224f62920b2d78c8b0 (master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 6e7999b3c529701d8bc810224f62920b2d78c8b0 # timeout=10
Commit message: "Merge branch '1-kube-deploy' into 'master'"
> /usr/bin/git rev-list --no-walk 6e7999b3c529701d8bc810224f62920b2d78c8b0 # timeout=10
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
> /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
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/HTTP_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://gitlab.com/kyberorg/http.git
> /usr/bin/git init /var/lib/jenkins/workspace/HTTP_master # timeout=10
Fetching upstream changes from https://gitlab.com/kyberorg/http.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/kyberorg/http.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/http.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/kyberorg/http.git # timeout=10
Fetching without tags
Fetching upstream changes from https://gitlab.com/kyberorg/http.git
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git fetch --no-tags --force --progress -- https://gitlab.com/kyberorg/http.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 5eced10e5b364be3a852f6a56683fe1b11deb5e7 (master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 5eced10e5b364be3a852f6a56683fe1b11deb5e7 # timeout=10
Commit message: "Fix"
> /usr/bin/git rev-list --no-walk 5eced10e5b364be3a852f6a56683fe1b11deb5e7 # timeout=10
[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 86.53kB
Step 1/5 : FROM nginx:stable
---> 2ad6b739fe1c
Step 2/5 : COPY nginx.conf /etc/nginx/conf.d/default.conf
---> 12bce14c29be
Step 3/5 : COPY index.html /srv/index.html
---> d057993379c7
Step 4/5 : CMD /bin/bash -c "nginx -g 'daemon off;'"
---> Running in 8e7338aad33c
Removing intermediate container 8e7338aad33c
---> 8614efa723fa
Step 5/5 : EXPOSE 8080
---> Running in 4b62b70c1435
Removing intermediate container 4b62b70c1435
---> a50589613762
Successfully built a50589613762
Successfully tagged kyberorg/http: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/kyberorg/http]
d8555d9724e6: Preparing
8268c953e6c9: Preparing
a5f9f505aede: Preparing
11bfb51390a5: Preparing
bf0ea8c01f3a: Preparing
c555e163f015: Preparing
d0f104dc0a1f: Preparing
c555e163f015: Waiting
d0f104dc0a1f: Waiting
11bfb51390a5: Layer already exists
bf0ea8c01f3a: Layer already exists
a5f9f505aede: Layer already exists
c555e163f015: Layer already exists
d0f104dc0a1f: Layer already exists
8268c953e6c9: Pushed
d8555d9724e6: Pushed
master: digest: sha256:5bba16e8f459396af0d56ec48ba34f909a4daaf3420014fe4107528d294ce510 size: 1776
[Pipeline] sh
+ set +x
Removing login credentials for https://index.docker.io/v1/
[Pipeline] sh
+ set +x
Untagged: kyberorg/http:master
Untagged: kyberorg/http@sha256:5bba16e8f459396af0d56ec48ba34f909a4daaf3420014fe4107528d294ce510
Deleted: sha256:a5058961376263edb10524ebe42cf2e748255114291faf16b4a00c70ac0a4c18
Deleted: sha256:8614efa723fa7fa50eb79ef1054c781729ad3a59cb96ebc8f3ee8cdd6d0dbdfb
Deleted: sha256:d057993379c7885d2498dcc217a5b787f902211a3e0fabd1c0a3cace61d920a0
Deleted: sha256:3a093da7d69693d948851f4cb30eb79111a9a3d8502445a711c24927f541a73c
Deleted: sha256:12bce14c29be01b3cae61d9d7d317d88ec7447efeaa2b41950fdd1f840477a29
Deleted: sha256:b892bb7712b62a6bb6a3c8dfaa47525db82c8b80471f7a3e50721a3ce7163b79
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy to K8S)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ kubectl -n prod-static-web set image deployment/static-site-http http=kyberorg/http:master --record
[Pipeline] sh
+ kubectl -n prod-static-web rollout restart deployment/static-site-http
deployment.apps/static-site-http 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