Skip to content

Commit

Permalink
Collect logs on Cirrus to investigate ProxyTest flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
henryju committed Sep 11, 2024
1 parent 7266416 commit b23a6f0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ build_task:
- regular_mvn_build_deploy_analyze
cleanup_before_cache_script:
- cleanup_maven_repository
on_failure:
junit_result_artifacts:
path: "**/target/surefire-reports/**.xml"
format: junit
type: text/xml

mend_scan_task:

Check warning on line 58 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L58

task "mend_scan" depends on task "build", but their only_if conditions are different

Check warning on line 58 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L58

task "mend_scan" depends on task "build", but their only_if conditions are different
depends_on:
Expand Down Expand Up @@ -101,8 +106,12 @@ qa_task:
cleanup_before_cache_script:
- cleanup_maven_repository
on_failure:
reports_artifacts:
path: "**/target/**/logs/*"
server_logs_artifacts:
path: "**/target/**/logs/**.log"
junit_result_artifacts:
path: "**/target/surefire-reports/**.xml"
format: junit
type: text/xml

promote_task:
depends_on:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private static ServletContextHandler proxyHandler(boolean needProxyAuth) {
return contextHandler;
}

private static final SecurityHandler basicAuth(String username, String password, String realm) {
private static SecurityHandler basicAuth(String username, String password, String realm) {

HashLoginService l = new HashLoginService(realm);

Expand Down

0 comments on commit b23a6f0

Please # to comment.