I need to have two jenkins build jobs for a same project in same brach but 
with different goals.

It is just like having a copy of job with different goals

But is there a way to do this using jenkins build config xml file?


<?xml version="1.0" encoding="UTF-8"?>

<maven2-moduleset>

  <rootModule>

    <groupId>com.test</groupId>

    <artifactId>fast</artifactId>

  </rootModule>

  <goals>-U clean deploy -Denv=ci -Dmaven.test.failure.ignore=false</goals>

  <defaultGoals>-U clean test -Dgroups=SlowTests</defaultGoals>


Sample conf file would be helpful.



Thanks

Shriny

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to