Skip to content

Commit 6194e56

Browse files
committed
Ensure that the "exec script" command in Evergreen configuration fails if the script fails
1 parent 3b28684 commit 6194e56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.evergreen/.evg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ functions:
128128
working_dir: "src"
129129
script: |
130130
${PREPARE_SHELL}
131-
[ -f ${PROJECT_DIRECTORY}/${file} ] && sh ${PROJECT_DIRECTORY}/${file} || echo "${PROJECT_DIRECTORY}/${file} not available, skipping"
131+
${PROJECT_DIRECTORY}/${file}
132132
133133
"upload mo artifacts":
134134
- command: shell.exec

0 commit comments

Comments
 (0)