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

Additional features #6

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Additional features #6

wants to merge 7 commits into from

Conversation

sagar-khanna
Copy link

[x] Support for chat message on success
[x] Build started by and build params in the chat message
[x] Cleaned up the chat message

@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

String rootUrl = Hudson.getInstance().getRootUrl();
String buildLink = (rootUrl == null) ? null : rootUrl + build.getUrl();
if(buildLink != null) msg.setLink(buildLink);

msg.setSubject(build.getProject().getName() + " #" + buildNo + " " + buildResult.getHumanResult().toUpperCase());

Choose a reason for hiding this comment

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

Why .toUpperCase()? I would prefer leaving this as it was.

@anttipitkanen
Copy link

All in all, these seem like features that could be added to the plugin. Please see the inline comments.

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.

3 participants