envs

Jenkins — API token

jenkins/api · version 1

envs add jenkins/api

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
JENKINS_URL required config Controller address.. Shape ^https://\S+$. where to get it
JENKINS_USER required secret User the token belongs to. Half of a credential pair.. where to get it
JENKINS_API_TOKEN required secret API token for that user.. where to get it

The JSON the CLI reads