[JIRA] (JENKINS-58546) Implement 'default site' fallback mechanism to simplify configuration

7 views
Skip to first unread message

rmyslek@atlassian.com (JIRA)

unread,
Jul 18, 2019, 7:21:02 AM7/18/19
to jenkinsc...@googlegroups.com
Rafal Myslek created an issue
 
Jenkins / Improvement JENKINS-58546
Implement 'default site' fallback mechanism to simplify configuration
Issue Type: Improvement Improvement
Assignee: Lenin Raj Rajasekaran
Components: atlassian-jira-software-cloud-plugin
Created: 2019-07-18 11:20
Priority: Minor Minor
Reporter: Rafal Myslek

At the moment the plugin requires the Jira `site` mandatory parameter, e.g.:

 

`jiraSendBuildInfo site: example.atlassian.net`

The site parameter is a reference to the Jira Cloud Site config in the Jenkins Global configuration.

In order to simplify the configuration, the idea is to make the site parameter optional.

`jiraSendBuildInfo`

If not provided, we would fetch all the Jira Site Configs defined in the Global config. If only one Jira Site Config is defined, we would use the site. Otherwise, if multiple sites are defined we would log a warning and ask the use to fix the Jenkinsfile, i.e. provide the site parameter.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

rmyslek@atlassian.com (JIRA)

unread,
Jul 28, 2019, 11:40:03 PM7/28/19
to jenkinsc...@googlegroups.com

rmyslek@atlassian.com (JIRA)

unread,
Aug 19, 2019, 10:25:02 PM8/19/19
to jenkinsc...@googlegroups.com

rmyslek@atlassian.com (JIRA)

unread,
Aug 19, 2019, 10:25:02 PM8/19/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages