-
Notifications
You must be signed in to change notification settings - Fork 381
fix: always show the GitHub endpoint selection #401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<p> | ||
<a href="https://developer.github.com/v3/">GitHub API</a> endpoint such as <code>https://github.example.com/api/v3/</code>. | ||
The list of servers is configured in the <strong>Manage Jenkins » Configure System » GitHub Enterprise Servers</strong> screen. | ||
</p> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form" xmlns:c="/lib/credentials" xmlns:scm="/jenkins/scm/api/form"> | ||
<j:choose> | ||
<j:when test="${descriptor.apiUriSelectable}"> | ||
<f:entry title="${%API endpoint}" field="apiUri"> | ||
<f:select/> | ||
</f:entry> | ||
</j:when> | ||
<j:otherwise> | ||
<f:entry title="${%API endpoint}" field="apiUri"> | ||
<f:textbox readonly="readonly"/> | ||
</f:entry> | ||
</j:otherwise> | ||
</j:choose> | ||
<f:entry title="${%API endpoint}" field="apiUri"> | ||
<f:select/> | ||
</f:entry> | ||
Comment on lines
+4
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm pretty sure this drop down will also include There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it does not include github.com |
||
<f:entry title="${%Credentials}" field="credentialsId"> | ||
<c:select checkMethod="post"/> | ||
</f:entry> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div> | ||
The server to connect to. The list of servers is configured in the <strong>Manage Jenkins » Configure | ||
System » GitHub Enterprise Servers</strong> screen. | ||
<a href="https://developer.github.com/v3/">GitHub API</a> endpoint such as <code>https://github.example.com/api/v3/</code>. | ||
The list of servers is configured in the <strong>Manage Jenkins » Configure System » GitHub Enterprise Servers</strong> screen. | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div> | ||
The server to connect to. The list of servers is configured in the <strong>Manage Jenkins » Configure | ||
System » GitHub Enterprise Servers</strong> screen. | ||
<a href="https://developer.github.com/v3/">GitHub API</a> endpoint such as <code>https://github.example.com/api/v3/</code>. | ||
The list of servers is configured in the <strong>Manage Jenkins » Configure System » GitHub Enterprise Servers</strong> screen. | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would resolve https://issues.jenkins.io/browse/JENKINS-76052