Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63340

Allow for MultiLine formatting in Snippetizer

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Requesting a feature to allow the snippetizer to output in single line and/or multi line by some sort of check box.   When using this code for cutting and pasting multi-line for large blocks is desired, it makes things much easier to read in groovy code of jobs.

      eg: single line

      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'
      

      multi-line

      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'
      

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mikeycarter Michael Carter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: