去掉强制要求webhook密码
This commit is contained in:
parent
b30e0e6590
commit
477d9e146d
|
@ -39,7 +39,7 @@ import static com.gitee.jenkins.gitee.api.GiteeClientBuilder.getAllGiteeClientBu
|
|||
@Extension
|
||||
public class GiteeConnectionConfig extends GlobalConfiguration {
|
||||
|
||||
private Boolean useAuthenticatedEndpoint = true;
|
||||
private Boolean useAuthenticatedEndpoint = false;
|
||||
private List<GiteeConnection> connections = new ArrayList<>();
|
||||
private transient Map<String, GiteeConnection> connectionMap = new HashMap<>();
|
||||
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
<?jelly escape-by-default='true'?>
|
||||
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form" xmlns:c="/lib/credentials" xmlns:st="jelly:stapler">
|
||||
<f:section title="Gitee">
|
||||
<f:entry title="${%Enable.authentication.end.point}" field="useAuthenticatedEndpoint">
|
||||
<f:checkbox default="true"/>
|
||||
</f:entry>
|
||||
<f:section title="${%Gitee.config}">
|
||||
<f:entry title="${%Gitee.connections}">
|
||||
<f:repeatable var="connection" items="${descriptor.connections}" name="connections">
|
||||
<table width="100%">
|
||||
|
|
|
@ -12,3 +12,4 @@ Read.timeout.seconds=Read timeout (in seconds)
|
|||
Read.timeout.desc=The time to wait while receiving the response
|
||||
Test.Connection=Test Connection
|
||||
Testing=Testing...
|
||||
Gitee.config=Gitee Configuration
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
Gitee.connections=Gitee \u94FE\u63A5
|
||||
Enable.authentication.end.point=\u5141\u8BB8 '/project' \u4F5C\u4E3A\u9A8C\u8BC1\u540E\u7F00
|
||||
Enable.authentication.end.point=\u5F00\u542F '/project' \u8DEF\u7531\u9A8C\u8BC1
|
||||
Connection.name=\u94FE\u63A5\u540D
|
||||
Gitee.host.URL=Gitee \u57DF\u540D URL
|
||||
Gitee.host.desc=Gitee \u57DF\u540D\u5B8C\u6574URL\u5730\u5740 (\u4F8B\u5982 http://gitee.com)
|
||||
Credentials=\u8BC1\u4E66
|
||||
Credentials=\u8BC1\u4E66\u4EE4\u724C
|
||||
Credentials.desc=Gitee API V5 \u7684\u8BC1\u4E66\u4EE4\u724C\uFF08\u83B7\u53D6\u5730\u5740 https://gitee.com/profile/personal_access_tokens\uFF09
|
||||
Ignore.SSL.Certificate.Errors=\u5FFD\u7565 SSL \u8BC1\u4E66\u9519\u8BEF
|
||||
Connection.timeout.seconds=\u94FE\u63A5\u8D85\u65F6\u65F6\u95F4\uFF0C\u5355\u4F4D\u79D2
|
||||
|
@ -12,3 +12,4 @@ Read.timeout.seconds=\u8BFB\u53D6\u8D85\u65F6\u65F6\u95F4\uFF0C\u5355\u4F4D\u79D
|
|||
Read.timeout.desc=\u94FE\u63A5\u8BFB\u53D6\u8D85\u65F6\u65F6\u95F4
|
||||
Test.Connection=\u6D4B\u8BD5\u94FE\u63A5
|
||||
Testing=\u6D4B\u8BD5\u4E2D...
|
||||
Gitee.config=Gitee \u914D\u7F6E
|
||||
|
|
Loading…
Reference in New Issue