Skip to content

Instantly share code, notes, and snippets.

@david-resnick
Last active February 7, 2017 20:45
Show Gist options
  • Save david-resnick/4df486765c89ac94daf25fe0b4c99a6d to your computer and use it in GitHub Desktop.
Save david-resnick/4df486765c89ac94daf25fe0b4c99a6d to your computer and use it in GitHub Desktop.
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // timeout
[Pipeline] checkout
Cloning the remote Git repository
Cloning repository ssh://git@bitbucket:7999/proj/service.git
> git init /home/jenkins/workspace/-FLE3OSMVFPS5YXYDBJO2SDKESHOZUWIWXDMRIPXDFZ27TAUUNB6Q # timeout=10
Fetching upstream changes from ssh://git@bitbucket:7999/proj/service.git
> git --version # timeout=10
using GIT_SSH to set credentials Jenkins User SSH Private Key
> git fetch --tags --progress ssh://git@bitbucket:7999/proj/service.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url ssh://git@bitbucket:7999/proj/service.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url ssh://git@bitbucket:7999/proj/service.git # timeout=10
Fetching upstream changes from ssh://git@bitbucket:7999/proj/service.git
> git fetch --tags --progress ssh://git@bitbucket:7999/proj/service.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision e397f724ca115d21b29bcaab594e2f43d49de66d (branch)
> git config core.sparsecheckout # timeout=10
> git checkout -f e397f724ca115d21b29bcaab594e2f43d49de66d
> git rev-list e397f724ca115d21b29bcaab594e2f43d49de66d # timeout=10
[Pipeline] sh
[FLE3OSMVFPS5YXYDBJO2SDKESHOZUWIWXDMRIPXDFZ27TAUUNB6Q] Running shell script
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
+ git rev-parse HEAD
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/home/jenkins/workspace/-FLE3OSMVFPS5YXYDBJO2SDKESHOZUWIWXDMRIPXDFZ27TAUUNB6Q@tmp/durable-f4c5cca7/script.sh: line 2: git-revision.tmp: No such file or directory
node('default') {
docker.image('builder').inside {
deleteDir()
checkout scm
sh 'git rev-parse HEAD > git-revision.tmp'
env.REVISION = readFile('git-revision.tmp').trim()
}
}
[Pipeline] deleteDir
[Pipeline] checkout
Cloning the remote Git repository
Cloning repository ssh://git@bitbucket:7999/proj/service.git
> git init /home/jenkins/workspace/FLE3OSMVFPS5YXYDBJO2SDKESHOZUWIWXDMRIPXDFZ27TAUUNB6Q # timeout=10
Fetching upstream changes from ssh://git@bitbucket:7999/proj/service.git
> git --version # timeout=10
using GIT_SSH to set credentials Jenkins User SSH Private Key
> git fetch --tags --progress ssh://git@bitbucket:7999/proj/service.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url ssh://git@bitbucket:7999/proj/service.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url ssh://git@bitbucket:7999/proj/service.git # timeout=10
Fetching upstream changes from ssh://git@bitbucket:7999/proj/service.git
> git fetch --tags --progress ssh://git@bitbucket:7999/proj/service.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision e397f724ca115d21b29bcaab594e2f43d49de66d (branch)
> git config core.sparsecheckout # timeout=10
> git checkout -f e397f724ca115d21b29bcaab594e2f43d49de66d
> git rev-list e397f724ca115d21b29bcaab594e2f43d49de66d # timeout=10
[Pipeline] sh
[FLE3OSMVFPS5YXYDBJO2SDKESHOZUWIWXDMRIPXDFZ27TAUUNB6Q] Running shell script
+ git rev-parse HEAD
[Pipeline] readFile
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment