I have a rather lengthy custom command I'm now writing, with ever growing nested items. (Good comparison to what I'm writing is the recordIssues command). The snippet Generator want's to all ways make it a single line
eg: recordIssues aggregatingResults: true, enabledForFailure: true, filters: [ includeType('test')], qualityGates: [[threshold: 1, type: 'TOTAL', unstable: false], [threshold: 1, type: 'NEW_ERROR', unstable: false]], tools: [cpd(), checkStyle(), gendarme(pattern: '*.*')], trendChartType: 'TOOLS_ONLY' What I'd like it to do for my command is something like: recordIssues aggregatingResults: true, enabledForFailure: true, filters: [includeType('test')], qualityGates: [[threshold: 1, type: 'TOTAL', unstable: false ], [threshold: 1, type: 'NEW_ERROR', unstable: false ] ], tools: [cpd(), checkStyle(), gendarme(pattern: '*.*') ], trendChartType: 'TOOLS_ONLY' Anyone know a way to do this or how I can hook a formatter into it? Is there custom hooks anywhere into the "Generate" button? -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/83f5d282-fcbc-41d6-af58-942672392126o%40googlegroups.com.