File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
.github/workflows/execute-build Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,6 @@ main() {
172
172
echo " $BUILD_SCRIPT " >> " $temp_script "
173
173
chmod +x " $temp_script "
174
174
echo " temp_script: $temp_script "
175
- cat " $temp_script "
176
175
resolved_build_script=" $temp_script "
177
176
178
177
echo " Created temporary script from inline commands: $temp_script " >&2
@@ -210,14 +209,9 @@ main() {
210
209
echo " Collecting build-info for $BUILD_NAME /$BUILD_ID ..." >&2
211
210
echo " Publishing from working directory: $( pwd) " >&2
212
211
213
- # Collect environment variables for build-info
214
- run jf rt build-collect-env " $BUILD_NAME " " $BUILD_ID " --project=" $PROJECT " || true
215
-
216
- # Add git information to build-info
217
- run jf rt build-add-git " $BUILD_NAME " " $BUILD_ID " --project=" $PROJECT " || true
218
-
219
- # Publish build-info to JFrog (without uploading artifacts)
220
- run jf rt build-publish " $BUILD_NAME " " $BUILD_ID " --project=" $PROJECT " || true
212
+ run-optional jf rt build-collect-env " $BUILD_NAME " " $BUILD_ID " --project=" $PROJECT "
213
+ run-optional jf rt build-add-git " $BUILD_NAME " " $BUILD_ID " --project=" $PROJECT "
214
+ run jf rt build-publish " $BUILD_NAME " " $BUILD_ID " --project=" $PROJECT "
221
215
222
216
echo " Published build-info: $BUILD_NAME /$BUILD_ID " >&2
223
217
fi
You can’t perform that action at this time.
0 commit comments