Skip to content

Instantly share code, notes, and snippets.

@O5ten
Created May 14, 2020 13:32
Show Gist options
  • Save O5ten/094e451db188caae76b152280b72b68f to your computer and use it in GitHub Desktop.
Save O5ten/094e451db188caae76b152280b72b68f to your computer and use it in GitHub Desktop.
Started by user Mikael Östberg
Obtained Jenkinsfile from git https://github.com/O5ten/kickass-recipes.git
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/gustav/kickass
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential SSH_GITHUB
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/O5ten/kickass-recipes.git # timeout=10
Fetching upstream changes from https://github.com/O5ten/kickass-recipes.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress https://github.com/O5ten/kickass-recipes.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision e7baabd8add16c620315f01fe3a233fb75da48c4 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f e7baabd8add16c620315f01fe3a233fb75da48c4 # timeout=10
Commit message: "update pipeline"
> git rev-list --no-walk cbe369d9d820a149126f0d2cb02a7809182fc9c4 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clone)
[Pipeline] git
using credential SSH_GITHUB
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url [email protected]:O5ten/kickass-recipes.git # timeout=10
Fetching upstream changes from [email protected]:O5ten/kickass-recipes.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress [email protected]:O5ten/kickass-recipes.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision e7baabd8add16c620315f01fe3a233fb75da48c4 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f e7baabd8add16c620315f01fe3a233fb75da48c4 # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git branch -D master # timeout=10
> git checkout -b master e7baabd8add16c620315f01fe3a233fb75da48c4 # timeout=10
Commit message: "update pipeline"
> git rev-list --no-walk cbe369d9d820a149126f0d2cb02a7809182fc9c4 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (error)
[Pipeline] sshagent
[ssh-agent] Using credentials git
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-O34RBkItm2xQ/agent.24186
SSH_AGENT_PID=24189
Running ssh-add (command line suppressed)
Identity added: /var/lib/jenkins/workspace/gustav/kickass@tmp/private_key_28893416433410344.key (/var/lib/jenkins/workspace/gustav/kickass@tmp/private_key_28893416433410344.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ date
+ echo tor 14 maj 2020 15:29:47 CEST
[Pipeline] sh
+ export GIT_SSH_COMMAND=ssh -oStrictHostKeyChecking=no
+ git remote set-url origin [email protected]:O5ten/kickass-recipes.git
+ git config --global user.email [email protected]
+ git config --global user.name Mikael Östberg
+ git fetch origin master
Från github.com:O5ten/kickass-recipes
* branch master -> FETCH_HEAD
+ git checkout master
Redan på "master"
+ git add date.txt
+ git commit -m Update date
[master 1798947] Update date
1 file changed, 1 insertion(+)
create mode 100644 date.txt
+ git push origin master
To [email protected]:O5ten/kickass-recipes.git
e7baabd..1798947 master -> master
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 24189 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[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