Skip to content

Commit 08f9d9a

Browse files
committed
ci: set default git user in the build agent
1 parent 44f84ea commit 08f9d9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.ci/Jenkinsfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ def generateStepForAgent(Map params = [:]){
9696
node('linux && immutable') {
9797
catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') {
9898
deleteDir()
99+
gitCmd(cmd: "config", credentialsId: '', args: '--global user.name elasticmachine')
100+
gitCmd(cmd: "config", credentialsId: '', args: '--global user.email infra-root-elasticmachine@elastic.co')
99101
unstash 'source'
100102
dir("${BASE_DIR}"){
101103
sh script: '.ci/scripts/install-dependencies.sh', label: "Install dependencies"

0 commit comments

Comments
 (0)