Plain Credentials

Jenkins Plain Credentials Plugin

Allows use of plain strings and files as credentials to be passed to miscellaneous build steps.

Description

This plugin provides two new types of credentials:

  • FileCredentials or Secret file:

SecretFile screenshot 1

  • StringCredentials or Secret text:

SecretText screenshot 1

Usage

These credentials were originally designed to be used together with the Credentials Binding Plugin. See the plugin for an example use case.

However, as described in the Credentials Plugin documentation, they could potentially be used by any other plugin that requires them.

Build

To build the plugin locally:

mvn clean verify

Release

To release the plugin:

mvn release:prepare release:perform -B

Test local instance

To test in a local Jenkins instance

mvn hpi:run