Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Fix JENKINS-32574] Replace job key and secret by jenkins credential …
…storage
- Loading branch information
Showing
5 changed files
with
138 additions
and
56 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
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
@@ -1,15 +1,14 @@ | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
<f:entry title="${%Key}" field="apiKey"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry title="${%Secret}" field="apiSecret"> | ||
<f:textbox /> | ||
</f:entry> | ||
<f:entry title="Notify build start" field="notifyStart"> | ||
<f:checkbox /> | ||
</f:entry> | ||
<f:entry title="Notify build finish" field="notifyFinish"> | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:c="/lib/credentials"> | ||
<f:entry title="${%Notify build start}" field="notifyStart"> | ||
<f:checkbox /> | ||
</f:entry> | ||
</f:entry> | ||
<f:entry title="${%Notify build finish}" field="notifyFinish"> | ||
<f:checkbox /> | ||
</f:entry> | ||
<f:advanced> | ||
<f:entry title="${%Credentials}" field="credentialsId"> | ||
<c:select /> | ||
</f:entry> | ||
</f:advanced> | ||
</j:jelly> |
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
@@ -1,15 +1,8 @@ | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
<!-- | ||
This Jelly script is used to produce the global configuration option. | ||
Jenkins uses a set of tag libraries to provide uniformity in forms. | ||
To determine where this tag is defined, first check the namespace URI, | ||
and then look under $JENKINS/views/. For example, <f:section> is defined | ||
in $JENKINS/views/lib/form/section.jelly. | ||
It's also often useful to just check other similar scripts to see what | ||
tags they use. Views are always organized according to its owner class, | ||
so it should be straightforward to find them. | ||
--> | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:c="/lib/credentials"> | ||
<f:section title="${%Bitbucket Build Status Notifier Plugin}" name="bitbucket-build-status-notifier"> | ||
<f:entry title="${%Global Credentials}" field="globalCredentialsId"> | ||
<c:select /> | ||
</f:entry> | ||
</f:section> | ||
</j:jelly> |