rombert opened a new pull request, #702:
URL: https://github.com/apache/sling-org-apache-sling-starter/pull/702

   ## Purpose
   
   Run the shared-library diagnostic from 
https://github.com/apache/sling-tooling-jenkins/pull/30 in Sling Starter's 
Jenkins matrix builds.
   
   The only change is to load `sling@diagnostics/maven-settings` explicitly. 
The library branch reports `MVN_SETTINGS` (or `(default agent settings)` when 
unset) inside `withMaven`, immediately before Maven runs on each Unix and 
Windows matrix build. It does not print settings contents or credentials, or 
change authentication or build arguments.
   
   The diagnostic will help determine whether a simplified Docker Hub 
credential fix can rely on Jenkins-provided per-invocation Maven settings; see 
https://issues.apache.org/jira/browse/INFRA-28608.
   
   **Temporary diagnostic PR; do not merge.** The current Docker Hub 
authentication failure may still occur; the diagnostic is printed before the 
Maven invocation so it should be available even when the build fails.
   
   ## Validation
   
   - Compiled the Jenkinsfile with a stub `Library` annotation.
   - Mocked the shared-library stage on Unix and Windows with both set and 
unset `MVN_SETTINGS`; verified the diagnostic precedes the unchanged Maven 
command.
   - `git diff --check` passes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to