I have a pipeline in Jenkins that uses JWT to start AEM pipelines. Has anyone done this migration, could you help me?
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
You need to update your configuration in Adobe Developer Console https://developer.adobe.com/console/home to connect to Cloud Manager Pipelines. You can follow these guides:
https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-22080
After that you will get a token, you need to use that token in your Jenkins Pipeline, I imagine your Jenkins pipeline is currently using a JWT token, so you need to update the credentials to Oauth, and it should work.
Hope this helps
Hi, @EstebanBustamante
Thanks for the reply, I have already followed these steps. I am thinking about the best way to write the script in the jenkins pipeline.
Views
Replies
Total Likes
Well, once you have the token, you just need to trigger an HTTP request from Jenkins. There are various ways to do this: you can explore the Http_request plugin at https://www.jenkins.io/doc/pipeline/steps/http_request/ for that, or directly use a "curl" command. Check out this post: https://dzone.com/articles/streamlining-your-workflow-with-the-jenkins-http-r-1.
This is the reference for the type of request you need to trigger using the CloudManager API: https://developer.adobe.com/experience-cloud/cloud-manager/reference/api/#tag/Pipeline-Execution/ope....
Hope this helps
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies