mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 04:43:42 +01:00
[jenkins] skip empty packaging commits
No use in doing an extra rebuild
This commit is contained in:
parent
81c1a4aa14
commit
9501814975
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -118,7 +118,7 @@ try {
|
||||
dir="${projectName}"
|
||||
[[ -d triqs_\$dir ]] && dir=triqs_\$dir || [[ -d \$dir ]]
|
||||
echo "160000 commit ${commit}\t\$dir" | git update-index --index-info
|
||||
git commit --author='Flatiron Jenkins <jenkins@flatironinstitute.org>' --allow-empty -m 'Autoupdate ${projectName}' -m '${env.BUILD_TAG}'
|
||||
git commit --author='Flatiron Jenkins <jenkins@flatironinstitute.org>' -m 'Autoupdate ${projectName}' -m '${env.BUILD_TAG}'
|
||||
git push origin ${env.BRANCH_NAME} || { git pull --rebase origin ${env.BRANCH_NAME} && git push origin ${env.BRANCH_NAME} ; }
|
||||
"""
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user