Silent git commands.
This commit is contained in:
parent
ef9ad302a7
commit
6562510e4d
|
@ -167,10 +167,10 @@ def exec(repo_url, repo_name) {
|
|||
def complete_url = "${repo_url}.git"
|
||||
def repository = complete_url.replaceFirst(".+://", "https://${GIT_USERNAME}:${GIT_PASSWORD}@")
|
||||
def bashWrapper = """
|
||||
git remote set-url origin $repository
|
||||
git remote -v
|
||||
git config user.email "git.gcube@localhost"
|
||||
git config user.name "git.gcube"
|
||||
git remote set-url origin $repository >/dev/null 2>&1
|
||||
git remote -v >/dev/null 2>&1
|
||||
git config user.email "git.gcube@localhost" >/dev/null 2>&1
|
||||
git config user.name "git.gcube" >/dev/null 2>&1
|
||||
curl "${ACTION_URL}" -o actions.sh
|
||||
chmod a+x actions.sh
|
||||
source actions.sh
|
||||
|
|
Loading…
Reference in New Issue