workflow-job-plugin icon indicating copy to clipboard operation
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

Open dwnusbaum opened this issue 1 year ago • 3 comments

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

dwnusbaum avatar Sep 26 '24 17:09 dwnusbaum

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.

dwnusbaum avatar Sep 27 '24 20:09 dwnusbaum

https://github.com/jenkins-infra/jenkins-security-scan/pull/32 FTR

basil avatar Sep 27 '24 23:09 basil

Is there any reason for this to still be in draft?

jglick avatar Oct 08 '24 17:10 jglick

Integrated into https://github.com/jenkinsci/workflow-job-plugin/pull/470 for simplicity.

dwnusbaum avatar Oct 15 '24 17:10 dwnusbaum