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 authored Oct 6, 2020
1 parent bf971f3 commit 1ce876d
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 @@ -265,8 +265,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 1ce876d

Please sign in to comment.