-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status code docs improvements #8186
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8186 +/- ##
=========================================
Coverage 67.16% 67.16%
Complexity 2049 2049
=========================================
Files 357 357
Lines 17158 17158
Branches 2461 2461
=========================================
Hits 11525 11525
Misses 4611 4611
Partials 1022 1022
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
integrations/jenkins/Jenkinsfile
Outdated
@@ -28,7 +28,8 @@ final DOCKER_BUILD_ARGS = '--build-arg http_proxy=$http_proxy --build-arg https_ | |||
// Disable the entry point to work around https://issues.jenkins-ci.org/browse/JENKINS-51307. | |||
final DOCKER_RUN_ARGS = '-e http_proxy -e https_proxy --entrypoint=""' | |||
|
|||
// The status code ORT commands return for failures (like rule violations), not errors (like existing output files). | |||
// The status code ORT CLI commands return at a minimum for failures (like rule violations), not errors (like existing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or: "The minimum status code ORT CLI commands return..."
@@ -108,3 +108,9 @@ const val ORT_EVALUATOR_RULES_FILENAME = "evaluator.rules.kts" | |||
* The name of the ORT notifier script. | |||
*/ | |||
const val ORT_NOTIFIER_SCRIPT_FILENAME = "notifier.notifications.kts" | |||
|
|||
/** | |||
* The status code ORT CLI commands return at a minimum for failures (like rule violations), not errors (like existing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The minimum status code..."
*/ | ||
val severeIssueThreshold: Severity = Severity.WARNING, | ||
|
||
/** | ||
* The threshold from which on rule violations count as severe. | ||
* The threshold from which on rule violations count as severe. Severe issues cause the status code on exit of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Sever rule violations..."
9146451
to
dac225e
Compare
Signed-off-by: Sebastian Schuberth <[email protected]>
This aligns with the constant in the `Jenkinsfile`. Signed-off-by: Sebastian Schuberth <[email protected]>
Signed-off-by: Sebastian Schuberth <[email protected]>
Put this next to other constants, and align to them by adding the "ORT_" prefix. Signed-off-by: Sebastian Schuberth <[email protected]>
dac225e
to
8866f90
Compare
Please have a look at the individual commit messages for the details.