Skip to content
Snippets Groups Projects
Commit 678e02cc authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

remove trailing slash in git url

parent 8beabb0a
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ def call(ArrayList<String> dependencyList, String gitUrl='',
sh """
git config credential.helper store
git remote add project-template "https://github.com/ChimeraTK/project-template" || true
git remote set-url origin `echo ${gitUrl} | sed -e 's_http://doocs-git.desy.de/cgit/_git@doocs-git.desy.de:_'`
git remote set-url origin `echo ${gitUrl} | sed -e 's_http://doocs-git.desy.de/cgit/_git@doocs-git.desy.de:_'` -e 's_/$__'
git remote update
git merge --no-edit project-template/master && git push origin master || true
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment