kubesphere / ks-devops

This is a cloud-native application that focuses on the DevOps area.
https://kubesphere.io/devops/
Apache License 2.0
159 stars 89 forks source link

failed to trigger pipelinerun by gitlab webhook #1036

Closed yudong2015 closed 5 months ago

yudong2015 commented 8 months ago

What is version of KubeSphere DevOps has the issue?

3.3.x ~ 3.5.0

How did you install the Kubernetes? Or what is the Kubernetes distribution?

No response

What happened?

https://www.kubesphere.io/docs/v3.4/devops-user-guide/how-to-use/pipelines/pipeline-webhook/

the code-repo in ks-console is git, and failed to trigger pipelinerun by gitlab webhook :

  1. 3.5.0: when test run webhook in gitlab, the webhook response is error;
  2. 3.3.0: when test run webhook in gitlab, the webhook response is successful, but pipeline not run;

Relevant log output

No response

Additional information

No response

yudong2015 commented 8 months ago

image

yudong2015 commented 8 months ago

image

yudong2015 commented 8 months ago

Add this param in deployment devops-jenkins JAVA_TOOL_OPTIONS:

-Dhudson.plugins.git.GitStatus.NOTIFY_COMMIT_ACCESS_CONTROL=disabled