Skip to content
Snippets Groups Projects
Commit 19a38998 authored by Tomasz Kozak's avatar Tomasz Kozak
Browse files

Merge branch 'master' of github.com:ChimeraTK/JenkinsConfiguration

parents 53104773 7544a593
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,6 @@ def call(ArrayList<String> dependencyList, String gitUrl='',
} else {
git gitUrl
}
/*
sh """
git reset --hard
git clean -f -d -x
......@@ -99,12 +98,11 @@ def call(ArrayList<String> dependencyList, String gitUrl='',
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:_' -e 's_/\$__'`
git remote update
git merge -X theirs --squash --no-edit project-template/master && \
git merge -X theirs --no-edit project-template/master && \
git commit -m "automatic merge of project-template" && \
git push --all || \
true
"""
*/
// We could also apply the clang-format style here, but this should be discussed first.
// find \( -name '*.cc' -o -name '*.cxx' -o -name '*.c' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' -o -name '*.hxx' -o -name '*.hh' \) -exec clang-format-6.0 -style=file -i \{\} \;
// git commit -a -m "Automated commit: apply clang-format" && git push --all || 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