Adding Credential Parameter in the Jenkins pipeline yaml
Issue
- referring to a key using an environment variable such as
JENKINS_PRIVATE_KEYit shows up as String Parameter rather than Credential Parameter - Is there a way to add Credential Parameters in pipeline yaml script.
- You should be able to specify secrets for builds with jenkinsPipelineStrategy
- Provide pipeline secrets via buildconfig [pipeline_integration]
Environment
- OpenShift Container Platform 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
