workflow-job-plugin
workflow-job-plugin copied to clipboard
[JENKINS-73824] Add test for deleting a Pipeline job while one of its builds is running only on a OneOffExecutor
See https://github.com/jenkinsci/jenkins/pull/9790. Once I have an incremental build of that PR I will update this PR to consume it.
Testing done
Submitter checklist
- [ ] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
- [ ] Ensure that the pull request title represents the desired changelog entry
- [ ] Please describe what you did
- [ ] 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
The CodeQL autobuild doesn't like the HPI plugin override (interestingly I also get this error in Netbeans, but it works fine using Maven directly):
[2024-09-27 19:27:07] [autobuild] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: Error: 9-27 19:27:07] [autobuild] [ERROR] Unknown packaging: hpi @ org.jenkins-ci.plugins.workflow:workflow-job:${changelist}, /home/runner/work/workflow-job-plugin/workflow-job-plugin/pom.xml, line 37, column 16
I suspect that a release of https://github.com/jenkinsci/plugin-pom/pull/1004 would help, but I have not tried to investigate the issue deeply.
https://github.com/jenkins-infra/jenkins-security-scan/pull/32 FTR
Is there any reason for this to still be in draft?
Integrated into https://github.com/jenkinsci/workflow-job-plugin/pull/470 for simplicity.