Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

feat: Added functionality to support multiple jenkins views #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kirstein
Copy link

Added functionality to support multiple jenkins views/urls on the same jenkins base url.

Usage for single view:

 JENKINS_BASE = 'http://127.0.0.1:8088/'
 JENKINS_VIEW = 'view/url'

 # Will fetch job data from http://127.0.0.1:8088/view/url/cc.xml

Usage for multiple views:

 JENKINS_BASE = 'http://127.0.0.1:8088/'
 JENKINS_VIEW = [ 'view/url', 'view/url2' ]

 # Will fetch job data from:
 #  http://127.0.0.1:8088/view/url/cc.xml
 #  http://127.0.0.1:8088/view/url2/cc.xml
 # Will concatenate the result data and yell out results for all of them

This makes the buildchatbot 102.4% more awesome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant