10000 Sensible order is endpoint,credentials, then other stuff · github-cloud/github-plugin@d4a13b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit d4a13b3

Browse files
committed
Sensible order is endpoint,credentials, then other stuff
1 parent f2a02a4 commit d4a13b3

File tree

1 file changed

+12
-12
lines changed
  • src/main/resources/org/jenkinsci/plugins/github/config/GitHubServerConfig

1 file changed

+12
-12
lines changed

src/main/resources/org/jenkinsci/plugins/github/config/GitHubServerConfig/config.groovy

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,12 @@ def f = namespace(lib.FormTagLib);
66
def c = namespace(lib.CredentialsTagLib)
77

88

9-
f.entry(title: _("Manage hooks"), field: "manageHooks") {
10-
f.checkbox(default: true)
11-
}
12-
13-
f.entry(title: _("Credentials"), field: "credentialsId") {
14-
c.select()
15-
}
16-
179
f.entry(title: _("API URL"), field: "apiUrl") {
1810
f.textbox(default: GitHubServerConfig.GITHUB_URL)
1911
}
2012

21-
f.advanced() {
22-
f.entry(title: _("GitHub client cache size (MB)"), field: "clientCacheSize") {
23-
f.textbox(default: GitHubServerConfig.DEFAULT_CLIENT_CACHE_SIZE_MB)
24-
}
13+
f.entry(title: _("Credentials"), field: "credentialsId") {
14+
c.select()
2515
}
2616

2717
f.block() {
@@ -33,3 +23,13 @@ f.block() {
3323
)
3424
}
3525

26+
27+
f.entry(title: _("Manage hooks"), field: "manageHooks") {
28+
f.checkbox(default: true)
29+
}
30+
31+
f.advanced() {
32+
f.entry(title: _("GitHub client cache size (MB)"), field: "clientCacheSize") {
33+
f.textbox(default: GitHubServerConfig.DEFAULT_CLIENT_CACHE_SIZE_MB)
34+
}
35+
}

0 commit comments

Comments
 (0)
0