File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ ort-scan:
123
123
- cache/ivy2/cache
124
124
- cache/sbt
125
125
variables :
126
- ORT : " /opt/ort/bin/ort"
126
+ ORT_CLI : " /opt/ort/bin/ort"
127
127
128
128
ORT_ADVISOR_PROVIDERS : " OssIndex"
129
129
@@ -223,7 +223,7 @@ ort-scan:
223
223
- echo "export ORT_DISABLE_ADVISOR='${ORT_DISABLE_ADVISOR:-'false'}'" >> vars.env
224
224
- echo "export ORT_DISABLE_EVALUATOR='${ORT_DISABLE_EVALUATOR:-'false'}'" >> vars.env
225
225
- echo "export ORT_DISABLE_SCANNER='${ORT_DISABLE_SCANNER:-'false'}'" >> vars.env
226
- - export ORT_VERSION=$($ORT --version)
226
+ - export ORT_VERSION=$($ORT_CLI --version)
227
227
- echo "export ORT_VERSION='$ORT_VERSION'" >> vars.env
228
228
229
229
- ./scripts/check-vars.sh
@@ -265,7 +265,7 @@ ort-scan:
265
265
- |
266
266
if [[ ! -z "$ORT_REVISION" ]]; then
267
267
./scripts/setup-ort.sh
268
- export ORT ="$CI_PROJECT_DIR/bin/ort"
268
+ export ORT_CLI ="$CI_PROJECT_DIR/bin/ort"
269
269
export ORTH="$CI_PROJECT_DIR/bin/orth"
270
270
fi
271
271
Original file line number Diff line number Diff line change 9
9
ORT_RESULTS_INPUT_FILE=$ORT_RESULTS_SCANNER_FILE
10
10
fi
11
11
12
- $ORT \
12
+ $ORT_CLI \
13
13
--$ORT_LOG_LEVEL \
14
14
--stacktrace \
15
15
advise \
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ echo "------------------------------------------"
49
49
echo " Running ORT analyzer..."
50
50
echo " ------------------------------------------"
51
51
52
- $ORT \
52
+ $ORT_CLI \
53
53
--$ORT_LOG_LEVEL \
54
54
--stacktrace \
55
55
$ORT_OPTIONS \
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ echo "------------------------------------------"
9
9
# Remove all special characters and whitespace from the PROJECT_NAME, because some tools cannot handle them.
10
10
SAFE_SW_NAME=$( echo $SW_NAME | sed -e ' s/[^A-Za-z0-9 \-\_]//g' -e ' s/\s/_/g' )
11
11
12
- $ORT \
12
+ $ORT_CLI \
13
13
--$ORT_LOG_LEVEL \
14
14
--stacktrace \
15
15
download \
Original file line number Diff line number Diff line change 45
45
echo " Error: ORT policy rules file (*.rules.kts) not found. Please set ORT_CONFIG_RULES_FILE"
46
46
fi
47
47
48
- $ORT \
48
+ $ORT_CLI \
49
49
--$ORT_LOG_LEVEL \
50
50
--stacktrace \
51
51
evaluate \
@@ -61,7 +61,7 @@ if [ $EXIT_CODE -ge 2 ]; then
61
61
fi
62
62
63
63
# Upload the final ORT result to PostgreSQL.
64
- # $ORT \
64
+ # $ORT_CLI \
65
65
# --$ORT_LOG_LEVEL \
66
66
# --stacktrace \
67
67
# -c $ORT_CLI_CONFIG_FILE \
Original file line number Diff line number Diff line change 61
61
# ORT_REPORTER_OPTIONS="$ORT_REPORTER_OPTIONS -O SpdxDocument=document.name='${SW_NAME}' \ -O SpdxDocument=output.file.formats=json,yaml"
62
62
# fi
63
63
64
- $ORT \
64
+ $ORT_CLI \
65
65
--$ORT_LOG_LEVEL \
66
66
--stacktrace \
67
67
report \
Original file line number Diff line number Diff line change 5
5
export JAVA_OPTS=" -Xmx24G"
6
6
7
7
echo " Scan source code for packages defined as dependencies and store results in $ORT_RESULTS_DIR ."
8
- $ORT \
8
+ $ORT_CLI \
9
9
--$ORT_LOG_LEVEL \
10
10
--stacktrace \
11
11
-c $ORT_CLI_CONFIG_FILE \
You can’t perform that action at this time.
0 commit comments