title: how to run sql file(having multiple queries and comments) from gradle script on teamcity agent
body: <p>I want to run oracle sql file (createdb.sql) which is in my linux teamcity agent at location /home/tools/sabaDB. I have tried exec like</p>
  
  <blockquote>
  <pre><code>            exec { commandLine "sqlplus", "/nolog", "@createdb.sql"
                              workingDir "home/tools/sabaDB"}
  </code></pre>
  </blockquote>
  
  <p>Its working when I run it from linux agent but not through teamcity I trigger gradle build script Its showing like error=2, No such file or directory </p>
  
  <p><a href="https://i.stack.imgur.com/B74Xm.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>I have checked file and oracle_home is properly set ( its running from my agent)
  so basic question is 
  how to create gradle task which will run whole sql file having  ? Thanks in advance</p>