Reputation: 11
I am trying to send a slack failure notification if the Jenkins build is a failure.
However, whenever the notification comes in slack, it is not a clickable URL. It comes as http://${MASTER_NODE}:1234/job/abc/2/
I am not able to make the master node of Jenkins dynamic, as a result, it just prints as MASTER_NODE
and not converting to a clickable URL.
Any possible solution for this?
Upvotes: 1
Views: 1081
Reputation: 126
Instead of using this http://${MASTER_NODE}:1234/job/abc/2/,
$BUILD_URL in custom message
Upvotes: 2