Execute cliargs script before running tests
This commit is contained in:
parent
cd34bb182c
commit
0156100013
5 changed files with 27 additions and 17 deletions
|
@ -37,7 +37,7 @@ public class TestNgOperationBuild extends Project {
|
|||
version = version(0, 9, 9, "SNAPSHOT");
|
||||
|
||||
javaRelease = 17;
|
||||
|
||||
|
||||
downloadSources = true;
|
||||
autoDownloadPurge = true;
|
||||
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
|
||||
|
@ -101,4 +101,13 @@ public class TestNgOperationBuild extends Project {
|
|||
.ruleSets("config/pmd.xml")
|
||||
.execute();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
new ExecOperation()
|
||||
.fromProject(this)
|
||||
.command("scripts/cliargs.sh")
|
||||
.execute();
|
||||
super.test();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue