forked from jenkinsci/jira-steps-plugin
-
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.
JENKINS-57182 Ensure that sites are not added twice through JCASC plu…
…gin (jenkinsci#88) * JENKINS-57182 ensure that sites are not added twice through JCASC plugin * JENKINS-57182 change Config class by JiraStepsConfig to not confuse on JCASC * JENKINS-57182 update changelog and version to 1.5.0 * JENKINS-57182 add maven-hpi-plugin, untrack not necessary file and display unreleased version
- Loading branch information
Showing
8 changed files
with
70 additions
and
25 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
+++ | ||
title = "Configuration as Code Plugin" | ||
description = "Adding sites through Configuration as Code plugin" | ||
tags = ["Setup", "Get Started", "casc"] | ||
weight = 4 | ||
date = "2019-06-05" | ||
lastmodifierdisplayname = "daper" | ||
+++ | ||
|
||
## Automate configuring via Configuration as Code Plugin | ||
|
||
The following snippet will automatically configure the global settings of this plugin. | ||
|
||
```yaml | ||
unclassified: | ||
jiraStepsConfig: | ||
sites: | ||
- name: 'another' | ||
url: 'http://example.com' | ||
timeout: 10000 | ||
readTimeout: 10000 | ||
loginType: 'BASIC' | ||
userName: 'foo' | ||
password: 'some pass' | ||
- name: 'moar jira' | ||
url: 'http://example.com' | ||
timeout: 10000 | ||
readTimeout: 10000 | ||
loginType: 'OAUTH' | ||
consumerKey: 'my consumer key' | ||
privateKey: 'my private key' | ||
secret: 'super secret' | ||
token: 'my token' | ||
``` |
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
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
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
File renamed without changes.