To create specific job based daily report with all parameter with user name and output result , and mailed report
for some R&D i use
import hudson.tasks.Shell
println Jenkins.instance.getAllItems(FreeStyleProject.class).findAll { job -> job.builders.findAll { it in Shell } && job.builders.findAll { it in Shell }.collect { shell -> shell.command}}
it give me shell output but i m unable to get other content like parameters, user who run it etc
I also tried few jenkins plugins but i m not able to get what i required or i just missed some plugins