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
Fix that the controller did not use creator's token to trigger a Jenkins job #384
Fix that the controller did not use creator's token to trigger a Jenkins job #384
Conversation
Signed-off-by: John Niang <johnniang@fastmail.com>
@JohnNiang: You must be a member of the kubesphere/milestone-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your and have them propose you as an additional delegate for this responsibility. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
@@ Coverage Diff @@
## master #384 +/- ##
=========================================
+ Coverage 7.72% 7.78% +0.05%
=========================================
Files 96 96
Lines 21582 21605 +23
=========================================
+ Hits 1668 1682 +14
- Misses 19791 19799 +8
- Partials 123 124 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/cherrypick release-3.2 |
@LinuxSuRen: once the present PR merges, I will cherry-pick it on top of release-3.2 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: John Niang <johnniang@fastmail.com>
Signed-off-by: John Niang <johnniang@fastmail.com>
/label tide/merge-method-squash |
Signed-off-by: John Niang <johnniang@fastmail.com>
/retest Test |
@JohnNiang: No presubmit jobs available for kubesphere/ks-devops@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test ? |
@JohnNiang: No presubmit jobs available for kubesphere/ks-devops@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ping @kubesphere/sig-devops |
hi @JohnNiang , The real problem is that the controller didn't use the correct user to trigger a Jenkins job.
So, I suggest you provide a more accurate title. |
Thanks for your suggestion! /retitle Enable the controller to trigger a Jenkins job with the token of the creator |
/retitle Fix that the controller did not use creator's token to trigger a Jenkins job |
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.
I have tested it manually. It works well.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang, LinuxSuRen The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@LinuxSuRen: new pull request created: #388 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What dose this PR?
devops.kubesphere.io/creator
into annotations of PipelineRundevops.kubesphere.io/creator
Why do we need it?
At present, if we trigger a Pipeline using non-admin account, we will get message
Started by admin
always.Steps to test
Docker images for test:
Last Message
column/kind bug
/milestone v3.2
/cc @kubesphere/sig-devops