Set SCRIPT_SPLITTING_TRANSFORMATION as the default behavor or explcitly per pipeline.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      As a declarative pipeline developer, I would like to apply SCRIPT_SPLITTING_TRANSFORMATION to specific pipelines, so that I can opt into this behavior on specific pipelines instead of enabling it globally.

      It doesn't look like the dreaded MultipleCompilationErrorsException error going away anytime soon and SCRIPT_SPLITTING_TRANSFORMATION seems to mitigate this issue enough that it makes this limitation less a problem.

      It's been years since SCRIPT_SPLITTING_TRANSFORMATION was included in Jenkins (even though it's a pretty hidden feature). Is it possible that SCRIPT_SPLITTING_TRANSFORMATION is battle tested enough now to turn it on my default? 

      Otherwise, is it possible that a way to enable this behavior on our pipeline on a per-pipeline bases? For example, a declaration at the top of the Jenkinsfile before the pipeline{} block  or a config option in the Configuration page for the job.

            Assignee:
            Unassigned
            Reporter:
            Henry Borchers
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: