Skip to content

Commit

Permalink
[CI] Setup git config globally (#21562) (#21584)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Oct 7, 2020
1 parent bde8416 commit e5b9242
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 @@ -264,8 +264,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 "beatsmachine@users.noreply.github.com"
git config user.name "beatsmachine"
git config --global user.email "beatsmachine@users.noreply.github.com"
git config --global user.name "beatsmachine"
fi''')
}
try {
Expand Down

0 comments on commit e5b9242

Please sign in to comment.