-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Server Credentials to User Configuration
- Loading branch information
Showing
6 changed files
with
53 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,5 +54,15 @@ | |
<followSymlinks>false</followSymlinks> | ||
</hudson.tasks.ArtifactArchiver> | ||
</publishers> | ||
<buildWrappers/> | ||
<buildWrappers> | ||
<org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper plugin="[email protected]_254d"> | ||
<bindings> | ||
<org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordMultiBinding> | ||
<credentialsId>nexus-repository</credentialsId> | ||
<usernameVariable>JENKINS_USERNAME</usernameVariable> | ||
<passwordVariable>JENKINS_PASSWORD</passwordVariable> | ||
</org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordMultiBinding> | ||
</bindings> | ||
</org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper> | ||
</buildWrappers> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,7 +80,17 @@ | |
<followSymlinks>false</followSymlinks> | ||
</hudson.tasks.ArtifactArchiver> | ||
</publishers> | ||
<buildWrappers/> | ||
<buildWrappers> | ||
<org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper plugin="[email protected]_254d"> | ||
<bindings> | ||
<org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordMultiBinding> | ||
<credentialsId>nexus-repository</credentialsId> | ||
<usernameVariable>JENKINS_USERNAME</usernameVariable> | ||
<passwordVariable>JENKINS_PASSWORD</passwordVariable> | ||
</org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordMultiBinding> | ||
</bindings> | ||
</org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper> | ||
</buildWrappers> | ||
<prebuilders/> | ||
<postbuilders/> | ||
<runPostStepsIfResult> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?xml version='1.1' encoding='UTF-8'?> | ||
<com.cloudbees.hudson.plugins.folder.Folder plugin="cloudbees-folder@6.858.v898218f3609d"> | ||
<com.cloudbees.hudson.plugins.folder.Folder plugin="cloudbees-folder@6.928.v7c780211d66e"> | ||
<actions/> | ||
<description/> | ||
<description></description> | ||
<properties> | ||
<org.jenkinsci.plugins.configfiles.folder.FolderConfigFileProperty plugin="config-file-provider@968.ve1ca_eb_913f8c"> | ||
<org.jenkinsci.plugins.configfiles.folder.FolderConfigFileProperty plugin="config-file-provider@973.vb_a_80ecb_9a_4d0"> | ||
<configs class="sorted-set"> | ||
<comparator class="org.jenkinsci.plugins.configfiles.ConfigByIdComparator"/> | ||
</configs> | ||
|
@@ -43,13 +43,29 @@ | |
</com.cloudbees.plugins.credentials.domains.Domain> | ||
<java.util.concurrent.CopyOnWriteArrayList/> | ||
</entry> | ||
<entry> | ||
<com.cloudbees.plugins.credentials.domains.Domain plugin="[email protected]_d7b_c7b_c9f"> | ||
<name>Server Credentials</name> | ||
<description>Your credentials for your Nexus Repository</description> | ||
<specifications/> | ||
</com.cloudbees.plugins.credentials.domains.Domain> | ||
<list> | ||
<com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl plugin="[email protected]_d7b_c7b_c9f"> | ||
<id>nexus-repository</id> | ||
<description>Your Nexus Login Details</description> | ||
<username>{USERNAME}</username> | ||
<password>{PASSWORD}</password> | ||
<usernameSecret>true</usernameSecret> | ||
</com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl> | ||
</list> | ||
</entry> | ||
</domainCredentialsMap> | ||
</com.cloudbees.hudson.plugins.folder.properties.FolderCredentialsProvider_-FolderCredentialsProperty> | ||
<org.jenkinsci.plugins.docker.workflow.declarative.FolderConfig plugin="docker-workflow@572.v950f58993843"> | ||
<org.jenkinsci.plugins.docker.workflow.declarative.FolderConfig plugin="docker-workflow@580.vc0c340686b_54"> | ||
<dockerLabel/> | ||
<registry plugin="[email protected]_3cb_0a_6a_fb_29"/> | ||
</org.jenkinsci.plugins.docker.workflow.declarative.FolderConfig> | ||
<org.jenkinsci.plugins.pipeline.maven.MavenConfigFolderOverrideProperty plugin="pipeline-maven@1376.v18876d10ce9c"> | ||
<org.jenkinsci.plugins.pipeline.maven.MavenConfigFolderOverrideProperty plugin="pipeline-maven@1421.v610fa_b_e2d60e"> | ||
<settings class="jenkins.mvn.DefaultSettingsProvider"/> | ||
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/> | ||
<override>false</override> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters