During a Jenkins build job we are getting an error:
Generating artifact package XML for package <Artifact Package Name>
Artifact Retrival Source Type REPOSITORY
Adding Repository Artifacts
Adding Artifact Version: <Artifact Version Name/Detail>
Generating Release Manifest XML
Adding Template Properties to Manifest XML
Deployment Plan URL: https://<NolioRA Hostname>:<NolioRA Port>/datamanagement/#/main/releases/<deployment plan id>
No Artifact Packages found
Error occurred while trying to create and run a Deployment Plan.
Reason: Deployment Plan with id [<deployment plan id>] created with error in: Failed to create artifact-package [Artifact-definition not found. ApplicationID = <Application ID>, artifact type = <Artifact Type Name>, definition = <Artifact Definition Name>]
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
java.lang.Exception: Build 11 failed
Release : 6.7
The application being targeted does not have either the Artifact Type or Artifact Definition being specified.
Confirm the following:
If the Artifact Type or Artifact Definition does not exist, then create it and run your Jenkins build job again.