change git fetch command
This commit is contained in:
parent
e710e04c71
commit
ce4d9baf48
|
@ -152,7 +152,7 @@ def push(repo_url, repo_name, tag, gCube_release_version, commit) {
|
|||
def repository = repo_url.replaceFirst(".+://", "https://${GIT_USERNAME}:${GIT_PASSWORD}@")
|
||||
sh("""
|
||||
git remote set-url origin $repository
|
||||
git fetch
|
||||
git fetch --all
|
||||
mvn clean generate-resources
|
||||
""")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue