Skip to content

Commit 5ce5a9e

Browse files
committed
ci: indent block properly
1 parent c4254ff commit 5ce5a9e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.ci/Jenkinsfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ def generateStepForAgent(Map params = [:]){
107107
return {
108108
node('linux && immutable') {
109109
catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') {
110-
deleteDir()
111-
gitCmd(cmd: "config", credentialsId: '', args: '--global user.name elasticmachine')
112-
gitCmd(cmd: "config", credentialsId: '', args: '--global user.email infra-root-elasticmachine@elastic.co')
113-
unstash 'source'
114-
dir("${BASE_DIR}"){
115-
sh script: '.ci/scripts/install-dependencies.sh', label: "Install dependencies"
116-
sh script: """.ci/scripts/send-pr.sh "${agent}" "${featuresPath}" """, label: "Send Pull Request for apm-agent-${agent}"
117-
}
118-
}
110+
deleteDir()
111+
gitCmd(cmd: "config", credentialsId: '', args: '--global user.name elasticmachine')
112+
gitCmd(cmd: "config", credentialsId: '', args: '--global user.email infra-root-elasticmachine@elastic.co')
113+
unstash 'source'
114+
dir("${BASE_DIR}"){
115+
sh script: '.ci/scripts/install-dependencies.sh', label: "Install dependencies"
116+
sh script: """.ci/scripts/send-pr.sh "${agent}" "${featuresPath}" """, label: "Send Pull Request for apm-agent-${agent}"
117+
}
118+
}
119119
}
120120
}
121121
}

0 commit comments

Comments
 (0)