File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -278,10 +278,6 @@ runs:
278278 fi
279279
280280 git checkout $ORIGINAL_HEAD
281- params+=(
282- --build-custom-json=$GRAPH_PATH
283- --custom-context=$CONTEXT_PATH
284- )
285281 YA_MAKE_TARGET="ydb"
286282 else
287283 YA_MAKE_TARGET=""
@@ -393,8 +389,14 @@ runs:
393389 monitor_memory &
394390 MONITOR_PID=$!
395391
392+ if [ -z "$GRAPH_PATH" ]; then
393+ GRAPH_OPTS="--build-custom-json=$GRAPH_PATH --custom-context=$CONTEXT_PATH"
394+ else
395+ GRAPH_OPTS=""
396+ fi
397+
396398 set +e
397- (./ya make ${params[@]} ${CACHE_OPTS[@]} $YA_MAKE_TARGET \
399+ (./ya make ${params[@]} ${CACHE_OPTS[@]} $YA_MAKE_TARGET $GRAPH_OPTS \
398400 $RERUN_FAILED_OPT --log-file "$PUBLIC_DIR/ya_log.txt" \
399401 --evlog-file "$CURRENT_PUBLIC_DIR/ya_evlog.jsonl" \
400402 --junit "$CURRENT_JUNIT_XML_PATH" --build-results-report "$CURRENT_REPORT" --output "$YA_MAKE_OUT_DIR"; echo $? > exit_code) |& cat >> $YA_MAKE_OUTPUT
You can’t perform that action at this time.
0 commit comments