Skip to content
Snippets Groups Projects
Commit 7fb3236a authored by Sébastien Blin's avatar Sébastien Blin
Browse files

jenkinsfile: fix branch merging

Change-Id: Ib0bb0985a396a9284229c79acc113a25c79c97bd
parent 5e561ddc
No related branches found
No related tags found
No related merge requests found
......@@ -136,8 +136,14 @@ See https://wiki.savoirfairelinux.com/wiki/Jenkins.jami.net#Configuration_client
steps {
sh """git checkout ${params.CHANNEL}
git status
git reset --hard origin/nightly
git status
# Submodules are generally not managed by merging
git merge -X theirs --no-commit FETCH_HEAD || git add `git diff --name-status --diff-filter=U | awk '{print \$2}'`
git merge -X theirs --no-commit FETCH_HEAD || true
git status
git checkout FETCH_HEAD -- daemon lrc client-qt
git status
"""
}
}
......
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