...
Codeblock |
---|
gradle publish # -> acme.projectx:RestServices:devel-SNAPSHOT gradle publish -Penv=staging # -> acme.projectx:RestServices:staging-SNAPSHOT gradle publish -Penv=prod # -> acme.projectx:RestServices:prod-SNAPSHOT |
4. Have Pinuts integrate your plugin
After your new plugin has been published to the respective S3 bucket, contact support@pinuts.de to have us integrate the new plugin into your UM cloud deployment.
Tell us the full maven artifact name of the plugin and which SNAPSHOT or VERSION should go on which environment.
We will also give you an HTTP endpoint to trigger a deployment to devel, staging or prod.
5. Trigger deployment
You will be able to trigger a deployment of your published plugin into the cloud-hosted UM by sending an HTTP request to our GitLab like this:
Codeblock | ||
---|---|---|
| ||
curl -X POST -F token=$PIPELINE_TRIGGER_TOKEN -F ref=$ENVIRONMENT https://gitext.pinuts.de/api/v4/projects/$PROJECT_ID/trigger/pipeline |
We will provide you with the appropriate values for PIPELINE_TRIGGER_TOKEN
and PROJECT_ID
. ENVIRONMENT
should always be devel
, staging
or prod
.