Hi guys

i'm working on jenkins 2.x using jenkinsfile .
i have build a job using jenkinsfile and i need the script or code to 
invoke the Analysis Collector Plugin to my jenkinsfile so i could get the 
report. 
<https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin>
here my current jenkinsfile :

#!groovy

node {
 // Mark the code checkout 'stage'....
//  stage 'Stage Checkout'

  // Checkout code from repository and update any submodules
//  checkout scm
//sh 'git submodule update --init' 

 stage 'Build '

 echo "My branch is: ${env.BRANCH_NAME}"

sh 'cd gitlist-PHP && ./gradlew clean build'

stage 'Report'
 step([$class: 'JUnitResultArchiver', testResults: 
'gitlist-PHP/build/logs/junit.xml'])

}


thanks four your convenience. 

regard 
pandu siregar

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ed03b5e0-8cea-4582-9f04-9e99c72d850e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to