Skip to content
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

add GH action for sending notifications of release status / reminders about milestone cleanup #16

Closed
wants to merge 1 commit into from

Conversation

nickboldt
Copy link
Contributor

@nickboldt nickboldt commented Dec 16, 2020

Change-Id: I9fb886002932b68f8af72d1389c44f11901a09c6
Signed-off-by: nickboldt <[email protected]>
@nickboldt
Copy link
Contributor Author

If this doesn't work, we could try using a simple bash script, assuming mail or mailx is installed:

echo "...... email body here ...... " > mailbody.tmp
if [[ -x /bin/mailx ]]; then 
    /bin/mailx -s "''' + mailSubject + '''" -c "''' + CCrecipients + '''" -r "''' + sender + '''" "''' + TOrecipients + '''" < mailbody.tmp
else 
    /bin/mail -s "''' + mailSubject + '''" "''' + TOrecipients + '''" -c"''' + CCrecipients + '''" -- -f"''' + sender + '''" < mailbody.tmp
fi
rm -f mailbody.tmp

see full example in https://github.com/redhat-developer/codeready-workspaces/blob/crw-2.6-rhel-8/dependencies/send-email-qe-build-list.Jenkinsfile#L67-L76

@mkuznyetsov
Copy link
Contributor

looks like it's gonna be on hold, until we will find appropriate smtp username&password

Copy link
Contributor

@mkuznyetsov mkuznyetsov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need smtp username & password that can be used on "CI"

@nickboldt
Copy link
Contributor Author

nickboldt commented Feb 2, 2021

what about a mattermost post instead? https://github.com/marketplace/actions/mattermost (it's an official action from MM, not a random one from some user on the marketplace)

we could post to https://mattermost.eclipse.org/eclipse/channels/eclipse-che-releases

@nickboldt nickboldt changed the title add GH action for sending mail to che-dev... add GH action for sending notifications of release status / reminders about milestone cleanup Feb 8, 2021
@nickboldt
Copy link
Contributor Author

MM notification done in eclipse-che/che#18906

@nickboldt nickboldt closed this Mar 5, 2021
@nickboldt nickboldt deleted the email-sender-refactor-release-yaml branch March 16, 2021 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants