Injecting Jenkins Credentials into a Build Job: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
This article describes the procedure to declare [[Jenkins_Security_Concepts#Credential|credentials]], in this case an external repository username and password, in a Jenkins [[Jenkins_Security_Concepts#Credentials_Store|credential store]] and then expose them to a build job, in this case a Gradle-driven build.
This article describes the procedure to declare [[Jenkins_Security_Concepts#Credential|credentials]], in this case an external repository username and password, in a Jenkins [[Jenkins_Security_Concepts#Credentials_Store|credential store]] and then expose them to a build job, in this case a Gradle-driven build.


=Pre-Requisite=
=Pre-Requisites=


* [[Jenkins_Credentials_Plugin#Overview|Jenkins Credential Plugin]] has to be installed.
* [[Jenkins_Credentials_Plugin#Overview|Jenkins Credential Plugin]] has to be installed.
* [[Jenkins_Credentials_Binding_Plugin#Overview|Jenkins Credentials Binding Plugin]] has to be installed.
* [[Jenkins_Credentials_Binding_Plugin#Overview|Jenkins Credentials Binding Plugin]] has to be installed.

Revision as of 19:59, 22 May 2018

External

Internal

Overview

This article describes the procedure to declare credentials, in this case an external repository username and password, in a Jenkins credential store and then expose them to a build job, in this case a Gradle-driven build.

Pre-Requisites