Skip to content

Commit

Permalink
[CI] Setup git config globally (#21562) (#21675)
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Martinez <[email protected]>
  • Loading branch information
kuisathaverat and v1v authored Oct 8, 2020
1 parent a4c606e commit e133c34
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 "[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 e133c34

Please sign in to comment.