When adding a Build Other Projects step in the promotion process in a Job Template, the server raises a NullPointerException when processing the following request:
The method doCheck in the BuildTrigger 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"
- "Build Other Projects" 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.