You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yik Teng Hie 321e2ed394 cloudwatch 4 years ago
..
README.md cloudwatch 4 years ago

README.md

Git command for jenkins build

  • command
// latest commit SHA
$ git rev-parse refs/remotes/origin/dev

// checkout SHA
$ git checkout -f 0760d8575d5e21774f1c571a0f7d41271afb640a

$ git init /var/lib/jenkins/workspace/razer-pay-admin-portal
$ git fetch --tags --progress git@bitbucket.org:razersw/razer-pay-admin-portal.git +refs/heads/*:refs/remotes/admin-portal/*
$ git config remote.admin-portal.url git@bitbucket.org:razersw/razer-pay-admin-portal.git
$ git config --add remote.admin-portal.fetch +refs/heads/*:refs/remotes/admin-portal/*
$ git rev-parse refs/remotes/admin-portal/master
$ git config core.sparsecheckout
$ git checkout -f f5d0db852cfb15c6ee14ca8fc2944862fdd8a521

// history log in graph view
$ git log --graph --decorate --oneline