SuccessConsole Output

Branch indexing
12:10:03 Connecting to https://api.github.com using kyberorg/****** (Kyberorg GitLab)
Obtained Jenkinsfile from 4da7175c5d0a50f3ed2352e3de93e96a68281d9a
Running in Durability level: MAX_SURVIVABILITY
Only using first definition of library common-lib
Loading library common-lib@1.4
Attempting to resolve 1.4 from remote references...
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials CI token for gitlab
 > /usr/bin/git ls-remote -h -- https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10
Could not find 1.4 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
 > /usr/bin/git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials CI token for gitlab
 > /usr/bin/git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10
 > /usr/bin/git rev-parse 1.4^{commit} # timeout=10
 > /usr/bin/git branch -a -v --no-abbrev --contains 54d5eac1894fca19ed2d32e6b5138f8443046b13 # timeout=10
Selected match: master revision 54d5eac1894fca19ed2d32e6b5138f8443046b13
using credential CIpwd
 > /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
using GIT_ASKPASS to set credentials CI token for 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 54d5eac1894fca19ed2d32e6b5138f8443046b13 (master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 54d5eac1894fca19ed2d32e6b5138f8443046b13 # timeout=10
Commit message: "Fixes"
 > /usr/bin/git rev-list --no-walk 54d5eac1894fca19ed2d32e6b5138f8443046b13 # timeout=10
Loading library common-pipe@2.3.3
Attempting to resolve 2.3.3 from remote references...
 > /usr/bin/git --version # timeout=10
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
 > /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
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/GoApi_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/go-api.git
 > /usr/bin/git init /var/lib/jenkins/workspace/GoApi_master # timeout=10
Fetching upstream changes from https://github.com/kyberorg/go-api.git
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
 > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg/go-api.git +refs/heads/master:refs/remotes/origin/master # timeout=10
 > /usr/bin/git config remote.origin.url https://github.com/kyberorg/go-api.git # timeout=10
 > /usr/bin/git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
 > /usr/bin/git config remote.origin.url https://github.com/kyberorg/go-api.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/kyberorg/go-api.git
using GIT_ASKPASS to set credentials Kyberorg GitLab
 > /usr/bin/git fetch --no-tags --force --progress -- https://github.com/kyberorg/go-api.git +refs/heads/master:refs/remotes/origin/master # timeout=10
Checking out Revision 4da7175c5d0a50f3ed2352e3de93e96a68281d9a (master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 4da7175c5d0a50f3ed2352e3de93e96a68281d9a # timeout=10
Commit message: "Reuse refresh token for same user agent."
 > /usr/bin/git rev-list --no-walk fd25aa55283add6e833b93a0328d8b60dba93fa0 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Docker)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ set +x
Sending build context to Docker daemon  160.8kB

Step 1/17 : ARG GO_VERSION=1.14
Step 2/17 : FROM golang:${GO_VERSION}-alpine AS builder
 ---> 4c8eed5b55a0
Step 3/17 : RUN apk update && apk add alpine-sdk git && rm -rf /var/cache/apk/*
 ---> Using cache
 ---> 3136944f463a
Step 4/17 : RUN mkdir -p /api
 ---> Using cache
 ---> b8fd7149387e
Step 5/17 : WORKDIR /api
 ---> Using cache
 ---> 9e54792c622b
Step 6/17 : COPY go.mod .
 ---> Using cache
 ---> e31d46d1a6c9
Step 7/17 : COPY go.sum .
 ---> Using cache
 ---> 9ccdc86fd6ac
Step 8/17 : RUN go mod download
 ---> Using cache
 ---> 5f7047b41286
Step 9/17 : COPY . .
 ---> 9a4c0443dfee
Step 10/17 : RUN go build -o application main.go
 ---> Running in eec31d582874
Removing intermediate container eec31d582874
 ---> 378c829acda9
Step 11/17 : FROM alpine:3.12
 ---> a24bb4013296
Step 12/17 : RUN mkdir -p /api
 ---> Running in d8ab876a36f2
Removing intermediate container d8ab876a36f2
 ---> d6da20e3a49a
Step 13/17 : WORKDIR /api
 ---> Running in 0280154bce16
Removing intermediate container 0280154bce16
 ---> f88b381c9df8
Step 14/17 : COPY --from=builder /api/application .
 ---> 1773123ad0d6
Step 15/17 : ADD assets /api/assets
 ---> 85e60ac5bb2c
Step 16/17 : EXPOSE 8080
 ---> Running in f518a87755ab
Removing intermediate container f518a87755ab
 ---> 7a2025a2b7d8
Step 17/17 : ENTRYPOINT ["./application"]
 ---> Running in ce17a1c0a39d
Removing intermediate container ce17a1c0a39d
 ---> ef59a9e5f120
Successfully built ef59a9e5f120
Successfully tagged kyberorg/go-api:stable
[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/go-api]
899edd34cd0c: Preparing
ea25f7653690: Preparing
64c94b553ab2: Preparing
50644c29ef5a: Preparing
50644c29ef5a: Layer already exists
64c94b553ab2: Pushed
899edd34cd0c: Pushed
ea25f7653690: Pushed
stable: digest: sha256:5691c96be2b7211768f616c9461b7dc25f4c260dec88e62e6c344d4aeff921d2 size: 1154
[Pipeline] sh
+ set +x
Removing login credentials for https://index.docker.io/v1/
[Pipeline] sh
+ set +x
Untagged: kyberorg/go-api:stable
Untagged: kyberorg/go-api@sha256:5691c96be2b7211768f616c9461b7dc25f4c260dec88e62e6c344d4aeff921d2
Deleted: sha256:ef59a9e5f120b1ff61fe0b1df4a6496063f794a8b651722d4fba8ae831ac3cb6
Deleted: sha256:7a2025a2b7d81dcd482e595842d19def10cf2099ab9da9fe3e2042c83903db3c
Deleted: sha256:85e60ac5bb2cf7c67a9e02434411ad1d2bfd3c3e5486e01f552e2cff4255378b
Deleted: sha256:e2fe086ec97cfa81819a136d5c0c1214b7d9b4a3c0237ab905d65dd55dec4a52
Deleted: sha256:1773123ad0d61307da95bab12fcb062ec57ad1770bd744646e2dedd1e8d9722e
Deleted: sha256:d47ab4a9e18b94ec07dfeb2cf4e5e656f5763f167f1022d70db95f7f121b57ec
Deleted: sha256:f88b381c9df8e31a103db563f56240c0c612e20e8159c58dba6bc18479817ef4
Deleted: sha256:d6da20e3a49ac92c9627763edec231993da244659bef03e3397968f17210512a
Deleted: sha256:cc1cf1744152607e0d0f10a2b1217bb63d1ccbf6d398ef613c7d67f801631696
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ set +x
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
[Pipeline] sleep
Sleeping for 10 sec
[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] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

Finished: SUCCESS