This is an example AEM OpenCloud Custom Manager Steps artifact that will be set up as one of AEM OpenCloud Manager customisation points.
This artifact contains:
stage-pre-common.sh
shell script which will be executed before each build stage executionstage-post-common.sh
shell script which will be executed after each build stage executionpipeline-pre-common.sh
shell script which will be executed before each build pipeline executionpipeline-post-common.sh
shell script which will be executed after each build pipeline executionexec-pre-common.sh
shell script which will be executed before each command executionexec-post-common.sh
shell script which will be executed after each command execution
One example use case of these Custom Manager Steps is for authentication. A user might need to retrieve temporary credential from AWS Security Token Service and this can be done either once per pipeline, once per stage, or once per command execution as a pre step.
To create artifact tar.gz file:
make package
The artifact will be written at stage/aem-helloworld-custom-manager-steps-<version>.tar.gz
Publish this artifact to a distribution platform, e.g.: Artifactory, Nexus, S3, or any other tool that you use for publishing artifacts.
Set the URL of the above published artifact as the value of AEM OpenCloud Manager configuration property aem_opencloud.custom_manager_steps.artifact_url
.