Update "Delivery Pipeline View" to accept 2 additional parameters. They are "embedded-css" and "full-screen-css" which are part of the Jenkins plugin.
Change-Id: I1a8ea098cbab1a672fe9b1653da2530ad87b2aad
This commit is contained in:
parent
f6f9bfc130
commit
6fc0a3ba25
@ -117,6 +117,8 @@ view_contents_keys = {
|
||||
"allow-manual-triggers",
|
||||
"allow-pipeline-start",
|
||||
"allow-rebuild",
|
||||
"embedded-css",
|
||||
"full-screen-css",
|
||||
"link-relative",
|
||||
"link-to-console-log",
|
||||
"max-number-of-visible-pipelines",
|
||||
|
@ -48,6 +48,8 @@ Requires the Jenkins :jenkins-plugins:`Delivery Pipeline Plugin
|
||||
the delivery pipeline view. (default false)
|
||||
* **allow-rebuild** (`bool`): Allow rerunning a task from the delivery
|
||||
pipeline view. (default false)
|
||||
* **embedded-css** (`str`): URL for custom CSS file (default '')
|
||||
* **full-screen-css** (`str`): URL for custom CSS file for full screen (default '')
|
||||
* **link-relative** (`bool`): Use relative links for jobs in this pipeline
|
||||
view to allow for easier navigation. (default false)
|
||||
* **link-to-console-log** (`bool`): Changes behaviour of task link in
|
||||
@ -134,6 +136,8 @@ class DeliveryPipeline(jenkins_jobs.modules.base.Base):
|
||||
("allow-manual-triggers", "allowManualTriggers", False),
|
||||
("allow-pipeline-start", "allowPipelineStart", False),
|
||||
("allow-rebuild", "allowRebuild", False),
|
||||
("embedded-css", "embeddedCss", ""),
|
||||
("full-screen-css", "fullScreenCss", ""),
|
||||
("link-relative", "linkRelative", False),
|
||||
("link-to-console-log", "linkToConsoleLog", False),
|
||||
("max-number-of-visible-pipelines", "maxNumberOfVisiblePipelines", -1),
|
||||
|
@ -8,6 +8,8 @@
|
||||
<allowManualTriggers>true</allowManualTriggers>
|
||||
<allowPipelineStart>true</allowPipelineStart>
|
||||
<allowRebuild>true</allowRebuild>
|
||||
<embeddedCss>foo</embeddedCss>
|
||||
<fullScreenCss>bar</fullScreenCss>
|
||||
<linkRelative>false</linkRelative>
|
||||
<linkToConsoleLog>true</linkToConsoleLog>
|
||||
<maxNumberOfVisiblePipelines>-1</maxNumberOfVisiblePipelines>
|
||||
|
@ -12,5 +12,7 @@ show-total-build-time: yes
|
||||
allow-rebuild: yes
|
||||
allow-pipeline-start: yes
|
||||
allow-abort: yes
|
||||
embedded-css: foo
|
||||
full-screen-css: bar
|
||||
paging-enabled: yes
|
||||
link-to-console-log: yes
|
||||
|
@ -8,6 +8,8 @@
|
||||
<allowManualTriggers>false</allowManualTriggers>
|
||||
<allowPipelineStart>false</allowPipelineStart>
|
||||
<allowRebuild>false</allowRebuild>
|
||||
<embeddedCss/>
|
||||
<fullScreenCss/>
|
||||
<linkRelative>false</linkRelative>
|
||||
<linkToConsoleLog>false</linkToConsoleLog>
|
||||
<maxNumberOfVisiblePipelines>-1</maxNumberOfVisiblePipelines>
|
||||
|
Loading…
x
Reference in New Issue
Block a user