Skip to content

Commit

Permalink
Merge pull request #479 from janfaracik/improve-project-settings
Browse files Browse the repository at this point in the history
Refine content and appearance of the project 'Configure' screen
  • Loading branch information
jglick authored Jan 14, 2025
2 parents 90f02a2 + 63a3375 commit a2dbc15
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,23 @@
-->

<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:f="/lib/form" xmlns:p="/lib/hudson/project">
<p:config-quietPeriod/>

<!-- pseudo-trigger to configure URL to trigger builds remotely. -->
<st:include page="/hudson/model/BuildAuthorizationToken/config.jelly" />

<f:section title="${%Advanced Project Options}" icon="symbol-build-outline plugin-ionicons-api">
<f:section title="${%Pipeline}" icon="symbol-pipeline plugin-workflow-job">
<div class="jenkins-section__description">
${%pipeline.description}
</div>
<f:dropdownDescriptorSelector title="${%Definition}" field="definition" descriptors="${descriptor.getDefinitionDescriptors(it)}"/>
</f:section>

<f:section title="${%Advanced}" icon="symbol-build-outline plugin-ionicons-api">
<f:advanced>
<p:config-quietPeriod/>

<f:entry title="${%Display Name}" field="displayNameOrNull">
<f:textbox />
</f:entry>
</f:advanced>
</f:section>

<f:section title="${%Pipeline}" icon="symbol-pipeline plugin-workflow-job">
<f:dropdownDescriptorSelector title="${%Definition}" field="definition" descriptors="${descriptor.getDefinitionDescriptors(it)}"/>
</f:section>
</j:jelly>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pipeline.description=Define your Pipeline using Groovy directly or pull it from source control.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ THE SOFTWARE.
<j:arg value="${it}" type="hudson.model.Item" />
</j:invokeStatic>
<f:descriptorList field="triggers"
title="${%Build Triggers}"
title="${%Triggers}"
description="${%description}"
descriptors="${triggers}"
icon="symbol-trigger"
instances="${it.triggers}">
<d:invokeBody />
</f:descriptorList>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
description=Set up automated actions that start your build based on specific events, like code changes or scheduled times.

This file was deleted.

0 comments on commit a2dbc15

Please sign in to comment.