ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

failed to trigger pipelinerun by gitlab webhook

Open yudong2015 opened this issue 1 year ago • 3 comments

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 avatar Apr 03 '24 03:04 yudong2015

image

yudong2015 avatar Apr 03 '24 07:04 yudong2015

image

yudong2015 avatar Apr 03 '24 07:04 yudong2015

Add this param in deployment devops-jenkins JAVA_TOOL_OPTIONS:

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

yudong2015 avatar Apr 03 '24 10:04 yudong2015