First of all this is a great plugin :-)
But there are some missing fields/flags
Currently i try to setup our jobs via the DSL plugin for different branches and there are some missing fields in:
gradle {
description("will execute checkout,build,tests and code
analysis for project : "+projectName)
tasks(":${projectName}:build :${projectTestName}:build --
stacktrace --parallel --parallel-threads=3")
switches("-PrunCodeAnalysis -PrunTests
-PmaxParallelForksForTests=10 -PincludeNightlyBuildTests -Pprofile="
standalone"")
useWrapper(true)
buildFile("build.gradle")
fromRootBuildScriptDir(true)
makeExecutable(true)
//useWorkspaceAsHome(true) is missing
}
}
so there the
useWorkspaceAsHome(true) is missing
and
for archiveJunit
archiveJunit(projectTestName+"/build/test-results/*.xml") {
retainLongStdout()
testDataPublishers {
publishTestStabilityData()
}
// healthScaleFactor is missing
}
there i canÄt modify the healthScaleFactor
Would be nice if there is a support for that somehow in future :) Inthe meanwhile i will try to figure out how i can ajdust this settings via the groocy command shell after the jobs are created.
Thanks for any help
Lars