Silent git commands.

master
Manuele Simi 3 years ago
parent ef9ad302a7
commit 6562510e4d

8
Jenkinsfile vendored

@ -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…
Cancel
Save