Skip to content

Instantly share code, notes, and snippets.

@MartinMuzatko
Created September 4, 2018 16:46
Show Gist options
  • Save MartinMuzatko/52fe81b3de7c23de66f97c3e63daaf3b to your computer and use it in GitHub Desktop.
Save MartinMuzatko/52fe81b3de7c23de66f97c3e63daaf3b to your computer and use it in GitHub Desktop.
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://private-repo.com/myrepo.git
> git init /var/jenkins_home/workspace/myrepo_master-2U3PIDBWVG233ME5SSYZKLF5UHTXGUK2VP7ZMOBNA6ANF3XH3KZA # timeout=10
Fetching upstream changes from https://private-repo.com/myrepo.git
> git --version # timeout=10
using GIT_ASKPASS to set credentials Bitbucket server credentials
> git fetch --no-tags --progress https://private-repo.com/myrepo.git +refs/heads/master:refs/remotes/origin/master
> git config remote.origin.url https://private-repo.com/myrepo.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
> git config remote.origin.url https://private-repo.com/myrepo.git # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
No valid HEAD. Skipping the resetting
> git clean -fdx # timeout=10
Fetching without tags
Fetching upstream changes from https://private-repo.com/myrepo.git
using GIT_ASKPASS to set credentials Bitbucket server credentials
> git fetch --no-tags --progress https://private-repo.com/myrepo.git +refs/heads/master:refs/remotes/origin/master
Checking out Revision 4be0fdde8b814d97dc1b7d6b0ad03cdebf14c2cb (master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 4be0fdde8b814d97dc1b7d6b0ad03cdebf14c2cb
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b master 4be0fdde8b814d97dc1b7d6b0ad03cdebf14c2cb
Commit message: "fix(CI): Install semantic release deps in publish step"
> git rev-list --no-walk 4be0fdde8b814d97dc1b7d6b0ad03cdebf14c2cb # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
[Bitbucket] Notifying commit build result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment