Copy Artifact Plugin 1.37
When adding a "Copy Artifact from another project" step in the promotion process in a Job Template, the server raises a NullPointerException when processing the following request:
The method doCheckProjectName in the CopyArtifact assume that the @AncestorInPath is not null which is a bug.
How to reproduce:
- Create a Job Template "test-job" at the root
- Tick "Define Promotion Process"
- "Copy Artifact from another project" action
- An ERROR link appears
Note: This issue does not block the functionality and this error can be ignored. Specifying an existing project and saving the configuration will make this error disappears.