Skip to content

Commit

Permalink
[CI] Setup git config globally (elastic#21562)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Oct 19, 2020
1 parent daa264b commit 84113e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ def withBeatsEnv(Map args = [:], Closure body) {
// See https://github.com/elastic/beats/issues/17787.
sh(label: 'check git config', script: '''
if [ -z "$(git config --get user.email)" ]; then
git config user.email "[email protected]"
git config user.name "beatsmachine"
git config --global user.email "[email protected]"
git config --global user.name "beatsmachine"
fi''')
}
try {
Expand Down

0 comments on commit 84113e4

Please sign in to comment.