Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started by user anonymous
- Cloning the remote Git repository
- Cloning repository http://gogs/gogsadmin/testing-app.git
- > /usr/bin/git init /var/jenkins_home/workspace/testing-app@script # timeout=10
- Fetching upstream changes from http://gogs/gogsadmin/testing-app.git
- > /usr/bin/git --version # timeout=10
- > /usr/bin/git fetch --tags --progress http://gogs/gogsadmin/testing-app.git +refs/heads/*:refs/remotes/origin/*
- > /usr/bin/git config remote.origin.url http://gogs/gogsadmin/testing-app.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 http://gogs/gogsadmin/testing-app.git # timeout=10
- Fetching upstream changes from http://gogs/gogsadmin/testing-app.git
- > /usr/bin/git fetch --tags --progress http://gogs/gogsadmin/testing-app.git +refs/heads/*:refs/remotes/origin/*
- > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
- > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
- Checking out Revision 61c466d38d9ad25b164a19c73e0e3c41f1c8850a (refs/remotes/origin/master)
- > /usr/bin/git config core.sparsecheckout # timeout=10
- > /usr/bin/git checkout -f 61c466d38d9ad25b164a19c73e0e3c41f1c8850a
- First time build. Skipping changelog.
- Loading library github.com/fabric8io/fabric8-pipeline-library@master
- Creating git repository in /var/jenkins_home/caches/git-a328a55fee5293c8cf80d5616db2c459
- > /usr/bin/git init /var/jenkins_home/caches/git-a328a55fee5293c8cf80d5616db2c459 # timeout=10
- Setting origin to https://github.com/fabric8io/fabric8-pipeline-library.git
- > /usr/bin/git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
- Fetching & pruning origin...
- Fetching upstream changes from origin
- > /usr/bin/git --version # timeout=10
- > /usr/bin/git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
- Getting remote branches...
- Seen branch in repository origin/master
- Seen branch in repository origin/new-k8s-plugin
- Seen 2 remote branches
- Checking branch master
- Cloning the remote Git repository
- Cloning repository https://github.com/fabric8io/fabric8-pipeline-library.git
- > /usr/bin/git init /var/jenkins_home/workspace/testing-app@libs # timeout=10
- Fetching upstream changes from https://github.com/fabric8io/fabric8-pipeline-library.git
- > /usr/bin/git --version # timeout=10
- > /usr/bin/git fetch --tags --progress https://github.com/fabric8io/fabric8-pipeline-library.git +refs/heads/*:refs/remotes/origin/*
- > /usr/bin/git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.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/fabric8io/fabric8-pipeline-library.git # timeout=10
- Fetching upstream changes from https://github.com/fabric8io/fabric8-pipeline-library.git
- > /usr/bin/git fetch --tags --progress https://github.com/fabric8io/fabric8-pipeline-library.git +refs/heads/*:refs/remotes/origin/*
- Checking out Revision 01846a166c7f0e17e8a9d541b1d171c2f365b9e3 (master)
- > /usr/bin/git config core.sparsecheckout # timeout=10
- > /usr/bin/git checkout -f 01846a166c7f0e17e8a9d541b1d171c2f365b9e3
- First time build. Skipping changelog.
- [Pipeline] node
- Running on master in /var/jenkins_home/workspace/testing-app
- [Pipeline] {
- [Pipeline] podTemplate
- [Pipeline] {
- [Pipeline] node
- Still waiting to schedule task
- kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-53569553f292 is offline
- Running on kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-53569553f292 in /home/jenkins/workspace/testing-app
- [Pipeline] {
- [Pipeline] node
- Still waiting to schedule task
- Waiting for next available executor on kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-53569553f292
- Running on kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-538036921af9 in /home/jenkins/workspace/testing-app
- [Pipeline] {
- [Pipeline] git
- Cloning the remote Git repository
- Cloning repository http://gogs/gogsadmin/testing-app.git
- > /usr/bin/git init /home/jenkins/workspace/testing-app # timeout=10
- Fetching upstream changes from http://gogs/gogsadmin/testing-app.git
- > /usr/bin/git --version # timeout=10
- > /usr/bin/git fetch --tags --progress http://gogs/gogsadmin/testing-app.git +refs/heads/*:refs/remotes/origin/*
- > /usr/bin/git config remote.origin.url http://gogs/gogsadmin/testing-app.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 http://gogs/gogsadmin/testing-app.git # timeout=10
- Fetching upstream changes from http://gogs/gogsadmin/testing-app.git
- > /usr/bin/git fetch --tags --progress http://gogs/gogsadmin/testing-app.git +refs/heads/*:refs/remotes/origin/*
- > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
- > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
- Checking out Revision 61c466d38d9ad25b164a19c73e0e3c41f1c8850a (refs/remotes/origin/master)
- > /usr/bin/git config core.sparsecheckout # timeout=10
- > /usr/bin/git checkout -f 61c466d38d9ad25b164a19c73e0e3c41f1c8850a
- > /usr/bin/git branch -a -v --no-abbrev # timeout=10
- > /usr/bin/git checkout -b master 61c466d38d9ad25b164a19c73e0e3c41f1c8850a
- [Pipeline] stage (Canary release)
- Using the βstageβ step without a block argument is deprecated
- Entering stage Canary release
- Proceeding
- [Pipeline] echo
- NOTE: running pipelines for the first time will take longer as build and base docker images are pulled onto the node
- [Pipeline] fileExists
- [Pipeline] writeFile
- [Pipeline] container
- [Pipeline] {
- [Pipeline] echo
- NOTE: until we support pushing tags to remote repos with correct secrets lets default to use the short commit sha as the version
- [Pipeline] sh
- [testing-app] Running shell script
- Executing shell script inside container [clients] of pod [kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-538036921af9]
- Executing command: sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-12828844/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-12828844/script.sh' > '/home/jenkins/workspace/testing-app@tmp/durable-12828844/output.txt' 2> '/home/jenkins/workspace/testing-app@tmp/durable-12828844/jenkins-log.txt'; echo $? > '/home/jenkins/workspace/testing-app@tmp/durable-12828844/jenkins-result.txt'
- [?1034hsh-4.2# cd /home/jenkins/workspace/testing-app
- sh-4.2# sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-1282884 4/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-12828844/script.sh' > '/home/j enkins/workspace/testing-app@tmp/durable-12828844/output.txt' 2> '/home/jenkins/ workspace/testing-app@tmp/durable-12828844/jenkins-log.txt'; echo $? > '/home/je nkins/workspace/testing-app@tmp/durable-12828844/jenkins-result.txt'
- sh-4.2# exit
- exit
- + git rev-parse --short HEAD
- [Pipeline] echo
- using new version 61c466d
- [Pipeline] echo
- got namespace default
- [Pipeline] sh
- [testing-app] Running shell script
- Executing shell script inside container [clients] of pod [kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-538036921af9]
- Executing command: sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/script.sh' > '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/jenkins-result.txt'
- [?1034hsh-4.2# cd /home/jenkins/workspace/testing-app
- sh-4.2# sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e4 8/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/script.sh' > '/home/j enkins/workspace/testing-app@tmp/durable-64dc5e48/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/jenkins-result.txt'
- + docker build -t 10.0.0.240:80/default/testing-app:61c466d .
- WARNING: Error loading config file:/home/jenkins/.docker/config.json - EOF
- Sending build context to Docker daemon 64.51 kB
- Step 1 : FROM node:5.3-onbuild
- 5.3-onbuild: Pulling from library/node
- d4bce7fd68df: Pulling fs layer
- a3ed95caeb02: Pulling fs layer
- 816152842605: Pulling fs layer
- 5dcab2c7e430: Pulling fs layer
- dc54ada22a60: Pulling fs layer
- f4dbf915606d: Pulling fs layer
- 0f3aa4700e52: Pulling fs layer
- 718f5d5c0ea6: Pulling fs layer
- 0f3aa4700e52: Waiting
- 718f5d5c0ea6: Waiting
- f4dbf915606d: Waiting
- 5dcab2c7e430: Waiting
- a3ed95caeb02: Verifying Checksum
- a3ed95caeb02: Download complete
- 816152842605: Verifying Checksum
- 816152842605: Download complete
- d4bce7fd68df: Download complete
- f4dbf915606d: Download complete
- 5dcab2c7e430: Verifying Checksum
- 5dcab2c7e430: Download complete
- 718f5d5c0ea6: Download complete
- d4bce7fd68df: Pull complete
- a3ed95caeb02: Pull complete
- 816152842605: Pull complete
- 0f3aa4700e52: Verifying Checksum
- 0f3aa4700e52: Download complete
- dc54ada22a60: Verifying Checksum
- dc54ada22a60: Download complete
- 5dcab2c7e430: Pull complete
- dc54ada22a60: Pull complete
- f4dbf915606d: Pull complete
- 0f3aa4700e52: Pull complete
- 718f5d5c0ea6: Pull complete
- Digest: sha256:1c9be723340315c67a050f84d8cec9e9360cd84cd53950673959e898a3c295b6
- Status: Downloaded newer image for node:5.3-onbuild
- [91m# Executing 3 build triggers...
- [0mStep 1 : COPY package.json /usr/src/app/
- Step 1 : RUN npm install
- ---> Running in 36f5ad956973
- [91mnpm[0m[91m [0m[91minfo[0m[91m [0m[91mit worked if it ends with ok
- [0m[91mnpm[0m[91m [0m[91minfo using npm@3.3.12
- [0m[91mnpm [0m[91minfo[0m[91m using node@v5.3.0
- [0m[91mnpm info lifecycle[0m[91m node-hello-world-rest@1.0.0~preinstall: node-hello-world-rest@1.0.0
- [0m[91mnpm info linkStuff node-hello-world-rest@1.0.0
- [0m[91mnpm info [0m[91mlifecycle node-hello-world-rest@1.0.0~install: node-hello-world-rest@1.0.0
- [0m[91mnpm info lifecycle[0m[91m node-hello-world-rest@1.0.0~postinstall: node-hello-world-rest@1.0.0
- [0m[91mnpm [0m[91minfo lifecycle node-hello-world-rest@1.0.0~prepublish: node-hello-world-rest@1.0.0
- [0m[91mnpm info ok
- [0mStep 1 : COPY . /usr/src/app
- sh-4.2# exit
- exit
- ---> b460e8ceedd5
- Removing intermediate container c6cd897ff9d7
- Removing intermediate container ddb28e8258e9
- Removing intermediate container 36f5ad956973
- Successfully built b460e8ceedd5
- [Pipeline] sh
- [testing-app] Running shell script
- Executing shell script inside container [clients] of pod [kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-538036921af9]
- Executing command: sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/script.sh' > '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/jenkins-result.txt'
- [?1034hsh-4.2# cd /home/jenkins/workspace/testing-app
- sh-4.2# sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-bf47279 1/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/script.sh' > '/home/j enkins/workspace/testing-app@tmp/durable-bf472791/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/jenkins-result.txt'
- sh-4.2# exit
- exit
- + docker push 10.0.0.240:80/default/testing-app:61c466d
- WARNING: Error loading config file:/home/jenkins/.docker/config.json - EOF
- The push refers to a repository [10.0.0.240:80/default/testing-app]
- Get https://10.0.0.240:80/v1/_ping: http: server gave HTTP response to HTTPS client
- [Pipeline] }
- [Pipeline] // container
- [Pipeline] }
- [Pipeline] // node
- [Pipeline] }
- [Pipeline] // node
- [Pipeline] }
- [Pipeline] // podTemplate
- [Pipeline] }
- [Pipeline] // node
- [Pipeline] End of Pipeline
- ERROR: script returned exit code 1
- Finished: FAILURE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement