change git fetch command

This commit is contained in:
Roberto Cirillo 2023-02-07 16:32:25 +01:00
parent e710e04c71
commit ce4d9baf48
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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
""")
}