title: Issues with Logical Groovy Operators in Jenkins Pipeline script
body: <p>I'm having compound if condition in Groovy script for "Active Choice (Uno) Plugin.</p>
  
  <p>For two condition checks it works fine; however fails when I have 3 conditions to check. </p>
  
  <p>Note: Locat, Envir &amp; regio are parameters in this pipeline.</p>
  
  <p>The below works fine.</p>
  
  <pre><code>if (Locat.equals("Dub") &amp;&amp; Envir.equals("Dev")) {
  return["DD1", "DD2", "DD3", "DD4"]
  } else if (Locat.equals("Dub") &amp;&amp; Envir.equals("Production")) {
  return["DP1", "DP2"]
  } else {
  return ["Select an IP from the drop-down"]
  } 
  </code></pre>
  
  <p>The below fails when I add the third condition and the plugin fall backs to error message that we specified.</p>
  
  <pre><code>if (Locat.equals("Dub") &amp;&amp; Envir.equals("Dev") &amp;&amp; region.equals("PRD")) {
  return["DD1", "DD2", "DD3", "DD4"]
  } else if (Locat.equals("Dub") &amp;&amp; Envir.equals("Production")) {
  return["DP1", "DP2"]
  } else {
  return ["Select an IP from the drop-down"]
  } 
  </code></pre>
  
  <p>Also, compound and/or grouping conditions fail for example below.</p>
  
  <pre><code>if (Locat.equals("Dub") &amp;&amp; (Envir.equals("Dev") || region.equals("PRD"))) {
  </code></pre>
  
  <p>I tried to find how to write compound condition statements for Groovy scripting but did not find any article which shows 3 or more than 3 condition checks in Groovy scripting.</p>
  
  <p>Need help with this.</p>