apupier opened a new pull request, #29714:
URL: https://github.com/apache/camel/pull/29714

   # Description
   
   This PR fixes multi-node and multi-platform detection in 
`etc/scripts/jenkins-alt-arch-nodes.groovy`:
   
   1. **Remove artificial node cap**: Removed the `max_nodes` limit check that 
previously skipped platform evaluation when all registered cloud instances were 
present in the Jenkins Operations Center pool.
   2. **Fix CPS parsing loop**: Replaced `String.eachLine` with a standard `for 
(String line : output.split('\n'))` loop, resolving the Jenkins Pipeline CPS 
issue where `eachLine` closure only processed the first line.
   3. **Pipe delimiter and flushing**: Switched from tab to pipe (`|`) with 
`flush=True` to eliminate string/bash/regex escaping ambiguities across streams.
   4. **Diagnostic logging to stderr**: Added structured diagnostic logs 
streaming to stderr detailing every evaluated node, online/offline status, 
running jobs, and occupier targeting decisions.
   
   This was verified on ASF CI in [camel-alt-arch-occupier/main 
#6](https://ci-builds.apache.org/job/Camel/job/camel-alt-arch-occupier/job/main/6/cloudbees-pipeline-explorer/),
 where all target nodes across both `ppc64le` and `s390x` were simultaneously 
detected and occupied in parallel.
   
   _IBM Bob on behalf of apupier_
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (`main`)
   
   # Tracking
   - [x] https://issues.apache.org/jira/browse/CAMEL-24290
   
   # Apache Camel coding standards and style
   
   - [x] Formatted and verified against repository standards


-- 
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