Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to deploy app using dt-app from a Jenkins job


We are looking into developing an application using the app toolkit.  However, we want to be able to deploy from a CI/CD Jenkins pipeline.  I believe I can just run "npm run deploy" from the Jenkins job which has node and npm installed.  However, are there authentication/authorization that I will have to account for since this will not be running in the context of a user?  Is there some documentation on doing this?


Dynatrace Helper
Dynatrace Helper

Yes, you can run the npm run deploy in the Jenkins pipeline to deploy your application.

To authenticate, you can use oauth Client and configure them using DT_APP_OAUTH_CLIENT_ID and DT_APP_OAUTH_CLIENT_SECRET environment  variables.

Following are the docs that will help you:

Let me know if it works for you. 


Featured Posts