app:dynatrace.jenkins.connector:connection)
Connections contain the access information for the Jenkins app. This connection can be used to connect to the Jenkins instance.
Schema ID | Schema groups | Scope |
---|---|---|
app:dynatrace.jenkins.connector:connection | - | environment |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/app:dynatrace.jenkins.connector:connection |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/app:dynatrace.jenkins.connector:connection | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/app:dynatrace.jenkins.connector:connection |
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Property | Type | Description | Required |
---|---|---|---|
Connection namename | text | The name of the Jenkins connection | required |
Jenkins URLurl | text | Base URL of your Jenkins instance (e.g. https://[YOUR_JENKINS_DOMAIN]/) | required |
Usernameusername | text | The name of your Jenkins user (e.g. jenkins) | required |
Passwordpassword | secret | The password of the user or API token obtained from the Jenkins UI (Dashboard > User > Configure > API Token) | required |