Skip to content

Commit da5229a

Browse files
authored
Check whether or not integrations stage has been restarted (elastic#4748)
Add a check before running the "Check integrations" stage to ensure that exists the packages folder. This stage requires to be checkout the repository and this is performed in the first stage.
1 parent 71da9c3 commit da5229a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.ci/Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ pipeline {
8484
stage('Check integrations') {
8585
steps {
8686
script {
87+
if (!fileExists("${BASE_DIR}/packages")) {
88+
error "Has the stage been restarted? This pipeline requires to be restarted running all stages."
89+
}
8790
dir("${BASE_DIR}/packages") {
8891
def integrations = [:]
8992
// Include hack to skip temporary files with "@tmp" suffix.

0 commit comments

Comments
 (0)