Job DSL issue "create Conditional build step to send email"

52 views
Skip to first unread message

Manoj Thakkar

unread,
May 20, 2015, 1:19:11 AM5/20/15
to jenkin...@googlegroups.com
Hi,

I am trying to write jobdsl to create a conditional step which will send email if the condition is met, 

It's not working for me unfortunately :( . Please help improve the code below.

 conditionalSteps {
        condition {
            stringsMatch('${ENV,var="RIGHT"}', "true", false)
        }
       extendedEmail("mtha...@mycopamy.com", "for Componets",
                      "Test Jira")  
  }

Daniel Spilker

unread,
May 20, 2015, 3:19:31 AM5/20/15
to jenkin...@googlegroups.com
Please use the Job DSL mailing list (https://groups.google.com/forum/#!forum/job-dsl-plugin) or StackOverflow (http://stackoverflow.com/questions/tagged/jenkins-job-dsl) for Job DSL questions.

And describe the problem in detail apart from "it's not working for me"

Daniel

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7504f06e-1cf8-4050-af0e-2d1c0f836052%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages