Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0
-
None
Description
currently only download and resolve events are supported for triggers. publish events would facilitate customized updates to artifacts (manifest files, jar signing, watermarking, etc), as well as custom notification and logging.
for consistency with the existing events, the new events should probably be:
pre-publish-artifact
post-publish-artifact
with the following common attributes:
organisation
module
revision
artifact
type
ext
resolver: the name of the target resolver
file: the absolute path of the data file for the artifact
overwrite: whether the publication will overwrite existing resources
post-publish-artifact will have an additional attribute:
status: 'successful' or 'failed'
indicating success or failure.