Hot answers tagged

7 votes
Accepted

How to include a custom Slack message only on completion?

As far as I was able to tell it's not possible. We solved this by using Pipeline putting the custom messages in the Jenkinsfile. The flexibility gained by having the Jenkinsfile in the git repo ...
user avatar
  • 1,269
6 votes
Accepted

Jenkins Pipeline job; proper quoting for slackSend step

In Groovy you have to use double quotes to get string interpolation: if ( "$output" != null ) { slackSend (channel: "@${name}", color: '#36A64F', message: "Job succeeded") } else { ...
user avatar
5 votes
Accepted

post jenkins build console output to slack

I figured it out by myself, there is no plugin needed. build.sh &> /dev/stdout | tee jenkins.txt and then curl -F file=@jenkins.txt -F channels=yourchannel -H "Authorization: Bearer your token"...
user avatar
  • 201
5 votes

Pass string to Jenkins job from Slack

The plugin you found doesn't have a 1:1 ratio between Heroku instance with build jobs since it takes the job name as parameter, so you should be able to run any number of jobs from a single Heroku ...
user avatar
4 votes

Heroku Slack integration without using Github

ChatOps uses GitHub status checks, so it's decidedly GitHub specific and won't work with another provider. However, if you're just after notifications, what about Heroku's App webhooks? They have an '...
user avatar
  • 1,055
3 votes

How to change PagerDuty incident name?

Within the CloudWatch integration in PagerDuty, you can change the "Derive name from" field to something like "Alarm Description".
user avatar
2 votes

How to change PagerDuty incident name?

Based on the PagerDuty documentation on Cloudwatch, it doesn't look like it's configurable: https://www.pagerduty.com/docs/guides/aws-cloudwatch-integration-guide/
user avatar
2 votes

post jenkins build console output to slack

You probably want the console output to be posted as an attachment, not a message, to slack. The post to slack plugin might be what you are looking for. The other thing you could do is create a part ...
user avatar
  • 3,098
2 votes
Accepted

Publish pipeline artifact to Slack

The stock Azure Pipelines app for Slack does not support that workflow of uploading artifacts to Slack. You could use this marketplace task and upload your release notes artifact with it. Bonus ...
user avatar
1 vote

Collaboration tools recommendations like Slack

TBH, I would question the reason for it to be on-premise, since nowadays the trend is to look for SaaS solutions (so, nothing to maintain from an IT / Ops point of view). Slack has a free plan as long ...
user avatar
1 vote

post jenkins build console output to slack

Posting the full stack trace tends to clog up the channel. Here are a few things you can do: Send build status along with the Jenkins Job link to the Channel so Devs can come back to the link for ...
user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible