Skip to content

Commit e3694ca

Browse files
committed
Fix syntax of links to failed test reports
The previous link was invalid.
1 parent edcb8c1 commit e3694ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/hibernate/infra/bot/develocity/DevelocityReportFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static URI statusUri(DevelocityCIBuildScan buildScan) {
117117
static URI testStatusUri(DevelocityCIBuildScan buildScan) {
118118
return switch ( buildScan.testStatus() ) {
119119
case SUCCESS -> buildScan.testsUri();
120-
case FAILURE -> UriBuilder.fromUri( buildScan.testsUri() ).queryParam( "outcome", "FAILED,FLAKY" ).build();
120+
case FAILURE -> UriBuilder.fromUri( buildScan.testsUri() ).queryParam( "outcome", "FAILED", "FLAKY" ).build();
121121
};
122122
}
123123

src/test/java/org/hibernate/infra/bot/develocity/DevelocityReportFormatterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ void summary_simple() {
107107
|`Linux` `elasticsearch` `elasticsearch-8.13` `h2` `hibernate-search` `jdk-17` `lucene`\
108108
|`clean verify`\
109109
|[:red_circle:](https://ge.hibernate.org/s/45fv2rr67ofuy/failures "Build Scan")\
110-
[:x:](https://ge.hibernate.org/s/45fv2rr67ofuy/tests?outcome=FAILED%2CFLAKY "Tests")\
110+
[:x:](https://ge.hibernate.org/s/45fv2rr67ofuy/tests?outcome=FAILED&outcome=FLAKY "Tests")\
111111
[:page_with_curl:](https://ge.hibernate.org/s/45fv2rr67ofuy/console-log "Logs")\
112112
|
113113
""" );
@@ -236,7 +236,7 @@ void summary_tagsConfig() {
236236
|`Linux`|`17`|`es-8.13` `lucene`|`h2`\
237237
|`clean verify`\
238238
|[:red_circle:](https://ge.hibernate.org/s/45fv2rr67ofuy/failures "Build Scan")\
239-
[:x:](https://ge.hibernate.org/s/45fv2rr67ofuy/tests?outcome=FAILED%2CFLAKY "Tests")\
239+
[:x:](https://ge.hibernate.org/s/45fv2rr67ofuy/tests?outcome=FAILED&outcome=FLAKY "Tests")\
240240
[:page_with_curl:](https://ge.hibernate.org/s/45fv2rr67ofuy/console-log "Logs")\
241241
|
242242
""" );

0 commit comments

Comments
 (0)