You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove redundant info and update image
* Bring headings down one notch and clarify pipeline call
* Get rid of mystery character
* Update token macro documentation
* Add documentation for new parameter
3. Now you can use the following Robot variables in your custom result
143
136
email:
144
137
145
-
-`${ROBOT_FAILEDCASES}` - Expands to list of failed Robot cases. Each
138
+
- `${ROBOT_FAILEDCASES, addErrorMessages}` - Expands to list of failed Robot cases. Each
146
139
case on its own line.
147
-
-`${ROBOT_PASSPERCENTAGE, onlyCritical}` - Expands to pass percentage
148
-
of tests. (passed / total \* 100 %),
149
-
onlyCritical - True if only critical tests should be calculated in
150
-
percentage. Defaults to false.
151
-
-`${ROBOT_PASSRATIO, onlyCritical}` - Expands to build result in 'passed
152
-
/ total' format.
153
-
onlyCritical - True if only critical tests should be calculated in
154
-
percentage. Defaults to false.
140
+
`addErrorMessages` is an optional parameter that can be used to include error messages in the output. Default value is `false`.
141
+
- `${ROBOT_FAILED}` - Expands to count of failed cases.
142
+
-`${ROBOT_PASSPERCENTAGE, countSkippedTests}` - Expands to pass percentage
143
+
of tests. (passed / total \* 100 %).
144
+
`countSkippedTests` is an optional parameter that can be used to include skipped tests in the total count. Default value is `false`.
145
+
-`${ROBOT_PASSRATIO}` - Expands to build result in 'passed
146
+
/ total' format. This total includes skipped test cases.
147
+
-`${ROBOT_PASSED}` - Expands to count of passed cases.
155
148
- `${ROBOT_REPORTLINK}` - If logfile link is configured in the Robot
156
149
plugin this link will point to that file for the build. Else show
157
150
link to Robot reports directory for the build.
151
+
- `${ROBOT_TOTAL}` - Expands to total count of test cases. This total includes skipped test cases.
158
152
159
-
####Displaying test numbers in build radiator views etc.
153
+
### Displaying test numbers in build radiator views etc.
160
154
161
155
> :warning: If the Robot plugin marks the build as failure the tests will not show
162
156
up. This is because only unstable and successful builds are considered
@@ -165,7 +159,7 @@ to have test results per Jenkins.
165
159
>This means that in order to see the test results in other views you must
166
160
set your unstable threshold so that the build never goes to failure.
167
161
168
-
####Log File Not Showing Properly
162
+
### Log File Not Showing Properly
169
163
170
164

171
165
@@ -178,7 +172,7 @@ and [here](https://content-security-policy.com/) how to change you CSP settings
178
172
but be aware that **Changing CSP settings will potentially expose you Jenkins instance for
179
173
security vulnerabilities**.
180
174
181
-
###Robot Framework 4.x+ compatibility
175
+
## Robot Framework 4.x+ compatibility
182
176
183
177
:heavy_exclamation_mark: As we're preparing to drop support for RF 3.x, the `onlyCritical` flag has been deprecated and no
184
178
longer has any effect. It will be removed in the future, but for now it's available for the transition period.
@@ -187,15 +181,15 @@ tests in the pass percentage calculation.
187
181
188
182
The plugin still supports RF 3.x, but no longer takes criticality into account. If you want to use RF 3.x with criticality, please downgrade to the last major version (4.0.0)
0 commit comments