Jenkins Credentials Binding Plugin: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
=Overview= | =Overview= | ||
This plugin allows credentials defined in the Jenkins server to be bound to environment variables or parameters to be used fro miscellaneous build steps. It uses a <tt>[[#withCredentials|withCredentials]]</tt> step whose programming model is explained below. | This plugin allows credentials defined in the Jenkins server to be bound to environment variables or parameters to be used fro miscellaneous build steps. It uses a <tt>[[#withCredentials|withCredentials]]</tt> step whose programming model is explained below. | ||
=Playground= | |||
{{External|https://github.com/ovidiuf/playground/tree/master/jenkins/pipelines/credentials-binding-plugin}} | |||
=<tt>withCredentials</tt>= | =<tt>withCredentials</tt>= | ||
==Injecting Username and Password into a Build Step== | ==Injecting Username and Password into a Build Step== |
Revision as of 05:33, 10 April 2021
External
- https://wiki.jenkins.io/display/JENKINS/Credentials+Binding+Plugin
- https://plugins.jenkins.io/credentials-binding/
- https://www.jenkins.io/doc/pipeline/steps/credentials-binding/#withcredentials-bind-credentials-to-variables
- https://docs.cloudbees.com/docs/cloudbees-ci/latest/cloud-secure-guide/injecting-secrets
Internal
Overview
This plugin allows credentials defined in the Jenkins server to be bound to environment variables or parameters to be used fro miscellaneous build steps. It uses a withCredentials step whose programming model is explained below.