No slack for regular build
@@ -151,6 +151,8 @@ catch(e){
throw e
}
+if(nightly){
def subject = "SUCCESS ${env.JOB_NAME}! Another day with a green ${branch}!"
def summary = "${subject} (${env.BUILD_URL})"
slackSend (color: '#00FF00', message: summary)
+}
\ No newline at end of file
