Silent git commands.

This commit is contained in:
Manuele Simi 2021-02-18 10:20:23 -05:00
parent ef9ad302a7
commit 6562510e4d
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -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