Skip to content

Instantly share code, notes, and snippets.

@adelarcubs
Last active October 2, 2018 23:37
Show Gist options
  • Save adelarcubs/cf5a3cb77106d125c723a394dff39b4f to your computer and use it in GitHub Desktop.
Save adelarcubs/cf5a3cb77106d125c723a394dff39b4f to your computer and use it in GitHub Desktop.
Started by user admin
Building in workspace /var/jenkins_home/workspace/Blog_sample/Mirror_git
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
Cloning the remote Git repository
Cloning repository https://github.com/adelarcubs/repo_base
> git init /var/jenkins_home/workspace/Blog_sample/Mirror_git # timeout=10
Fetching upstream changes from https://github.com/adelarcubs/repo_base
> git --version # timeout=10
using GIT_ASKPASS to set credentials adelarcubs github
> git fetch --tags --progress https://github.com/adelarcubs/repo_base +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url https://github.com/adelarcubs/repo_base # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/adelarcubs/repo_base # timeout=10
Fetching upstream changes from https://github.com/adelarcubs/repo_base
using GIT_ASKPASS to set credentials adelarcubs github
> git fetch --tags --progress https://github.com/adelarcubs/repo_base +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 2494a13d93381e6b607cd0dcfce20c07731fa208 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2494a13d93381e6b607cd0dcfce20c07731fa208
Commit message: "Add readme"
> git rev-list --no-walk 2494a13d93381e6b607cd0dcfce20c07731fa208 # timeout=10
[Mirror_git] $ /bin/sh -xe /tmp/jenkins4838672919322591887.sh
+ ssh-agent -s
+ eval SSH_AUTH_SOCK=/tmp/ssh-wcNSz99iGkdh/agent.350; export SSH_AUTH_SOCK;
SSH_AGENT_PID=351; export SSH_AGENT_PID;
echo Agent pid 351;
+ SSH_AUTH_SOCK=/tmp/ssh-wcNSz99iGkdh/agent.350
+ export SSH_AUTH_SOCK
+ SSH_AGENT_PID=351
+ export SSH_AGENT_PID
+ echo Agent pid 351
Agent pid 351
+ ssh-add /var/jenkins_home/.ssh/id_rsa
Identity added: /var/jenkins_home/.ssh/id_rsa (/var/jenkins_home/.ssh/id_rsa)
+ git checkout master
Switched to a new branch 'master'
Branch master set up to track remote branch master from origin.
+ git+ grep -v \->
+ grep -v branch -r
master
+ read remote
+ git remote add origin-mirror git@github.com:adelarcubs/repo_base_copy.git
+ git push -u origin-mirror --all
remote:
remote: Create a pull request for 'master' on GitHub by visiting:
remote: https://github.com/adelarcubs/repo_base_copy/pull/new/master
remote:
To github.com:adelarcubs/repo_base_copy.git
* [new branch] master -> master
Branch master set up to track remote branch master from origin-mirror.
Finished: SUCCESS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment