Gradle Parallel Test Execution

Currently Using Gradle Project to run the Test in Parallel but the test is running sequentially(From Jenkins)


test {
//we want display the following test events
testLogging {
showStandardStreams = true
exceptionFormat = ‘full’
maxParallelForks = Runtime.runtime.availableProcessors()
test.maxParallelForks = project.findProperty(‘testMaxParallelForks’) ?: 1


Jenkins Configuration
gradle buildtest -PtestMaxParallelForks=$testMaxParallelForks

Would be great if some one could help on the same