jenkinsci / nexus-platform-plugin

Nexus Platform Plugin for Jenkins
30 stars 56 forks source link

In order to prevent IllegalStateException in callflow options, avoid calling the agent-node-side code from master node. #311

Closed langyizhao closed 6 months ago

langyizhao commented 6 months ago

Piggyback remote scans to get callflow target info from the same roundtrip. This way we can avoid calling the same method again from master node, which would potentially cause IllegalStateException.

https://sonatype.atlassian.net/jira/software/c/projects/SDEV/boards/214?selectedIssue=SDEV-1117

Testing done

### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [ ] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue
langyizhao commented 6 months ago

I'm going to close this one in favor of the branch that Chris and I paired with.