Unverified Commit 04610781 authored by kaliraja's avatar kaliraja Committed by GitHub
Browse files

fix: adding str length

Showing with 1 addition and 1 deletion
+1 -1
...@@ -8,7 +8,7 @@ def call(String email_list = "") { ...@@ -8,7 +8,7 @@ def call(String email_list = "") {
String ANSI_YELLOW = "\u001B[33m" String ANSI_YELLOW = "\u001B[33m"
println "Hello" + email_list println "Hello" + email_list
if(email_list != ""){ if(email_list.length() > 0){
emailext body: '''$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS: Check console output at $BUILD_URL to view the results.''', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!', to: email_group emailext body: '''$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS: Check console output at $BUILD_URL to view the results.''', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!', to: email_group
return return
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment