-
Notifications
You must be signed in to change notification settings - Fork 83
Support for slackUserIdFromEmail slackUserIdsFromCommitters commands #175
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
Conversation
done Co-authored-by: OP (oppenheimer) <[email protected]>
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.
Add ut's for the newly added functionalities + rename function names for clarity and the rest looks good
getGitCommittersCommand > buildGitLogCommand
getGitEmails > fetchCommitterEmails
cleanupAndSplitEmails > sanitizeEmailList
Ompragash
left a comment
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.
As discussed, please ensure to test the windows variant of the plugin image in Harness CI with the same steps as in Linux stage
also, add tests for the newly added functions for below cases:
- repositories with no commits or committers without emails
- slack user lookup failures or rate-limiting
Ompragash
left a comment
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.
added some minor review - rest looks good
Co-authored-by: OP (oppenheimer) <[email protected]>
Co-authored-by: OP (oppenheimer) <[email protected]>
Co-authored-by: OP (oppenheimer) <[email protected]>
Co-authored-by: OP (oppenheimer) <[email protected]>
Supporting following functionalities
slackUserIdFromEmail
slackUserIdsFromCommitters
Pipeline execution link
https://app.harness.io/ng/account/gCoPSwHxS7ipOgx2iA9tOQ/all/orgs/default/projects/jenkinstoharness/pipelines/slack_commiters_list_senthil_05/executions/5emdUnSlTKmz5jRRNC-9gA/pipeline?storeType=INLINE&step=jkR0R4-aTb2LlVCVzS7lIQ&stage=oke94MPXS_SVKrvQvAqijQ&childStage=&stageExecId=