Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/pipeline-model-definition-plugin
  Commit: 781e8628335e74b8f41a6835191c674d1487eb1c
      
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/781e8628335e74b8f41a6835191c674d1487eb1c
  Author: Liam Newman <[email protected]>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy
    M 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AbstractModelDefTest.java
    M 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java

  Log Message:
  -----------
  [JENKINS-34987] - Allow better script splitting in more scenarios

Automatically splitting the pipeline script into multiple smaller parts makes 
it less like
for the resulting compiled class throw "Method code too large!" or "Class too 
large"
exceptions during the class file generation phase of compilation.

Locally declared variables are one of scenarios that are incompatible with the 
more
effective function-grouped script splitting.

Before this change, any statements outside the pipeline directive
would cause the plugin to switch to using the less effect closure-only
script splitting.

After this change, the plugin specifically detects the presence of
locally declared variables and ignores other non-problematic statements
such as method/function declaration.  By default, the script splitting
will also fail instead of switching to the less effecting splitting style.
The user may switch back to allowing locally declared variables using
the SCRIPT_SPLITTING_ALLOW_LOCAL_VARIABLES setting.


  Commit: dc386a8c4ae65340566bc03f3a3ab43372ae302d
      
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/dc386a8c4ae65340566bc03f3a3ab43372ae302d
  Author: Liam Newman <[email protected]>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    A 
pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/InvisibleGlobalWhenCondition.java
    A 
pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/InvisibleWhen.java
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/Utils.groovy
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ASTParserUtils.groovy
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/Converter.groovy
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ModelParser.groovy
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy
    M 
pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/generator/ParametersDirective.java
    A 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ASTParserUtilsTest.java
    A 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformerTest.java
    A 
pipeline-model-definition/src/test/resources/org/jenkinsci/plugins/pipeline/modeldefinition/parser/GlobalStageNameTestConditionalScript.groovy
    A 
pipeline-model-definition/src/test/resources/org/jenkinsci/plugins/pipeline/modeldefinition/parser/GlobalStepCountTestConditionalScript.groovy
    A 
pipeline-model-definition/src/test/resources/prettyPrintTransformedOutput.txt
    A pipeline-model-definition/src/test/resources/twoStages.groovy
    M 
pipeline-model-extensions/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/CommonUtils.java
    M 
pipeline-model-extensions/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/when/DeclarativeStageConditionalDescriptor.java
    A 
pipeline-model-extensions/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/when/GlobalStageConditional.java
    A 
pipeline-model-extensions/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/when/GlobalStageConditionalDescriptor.java
    A 
pipeline-model-extensions/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/when/GlobalStageConditionalScript.java

  Log Message:
  -----------
  Merge branch 'master' into task/script-splitting/update


  Commit: d40c81d023132d3e6f4f7380b47d067d9f24df8f
      
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/d40c81d023132d3e6f4f7380b47d067d9f24df8f
  Author: Liam Newman <[email protected]>
  Date:   2021-01-21 (Thu, 21 Jan 2021)

  Changed paths:
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy

  Log Message:
  -----------
  Update 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy


  Commit: ce723a032798b7bb17d4bfc0aa7791d0903417a1
      
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/ce723a032798b7bb17d4bfc0aa7791d0903417a1
  Author: Liam Newman <[email protected]>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java

  Log Message:
  -----------
  Update 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java


  Commit: f9eb138a4c9bd4062bbd7b0c91f0d234bb950bf2
      
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/f9eb138a4c9bd4062bbd7b0c91f0d234bb950bf2
  Author: Liam Newman <[email protected]>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M pipeline-model-api/pom.xml
    M 
pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/DescriptorLookupCache.java
    A 
pipeline-model-api/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/DescriptorLookupCacheTest.java
    M pipeline-model-definition/pom.xml
    M 
pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/generator/DirectiveGenerator/symbol-hetero-list.jelly
    M 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AbstractModelDefTest.java
    M 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/StepsTest.java
    M 
pipeline-model-definition/src/test/resources/json/steps/metaStepSyntax.json
    M pipeline-model-definition/src/test/resources/steps/metaStepSyntax.groovy
    M pom.xml

  Log Message:
  -----------
  Merge branch 'master' into task/script-splitting/update


  Commit: 55b57dbbd771b3ca8c5c67c23a1b4d063e9f4525
      
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/55b57dbbd771b3ca8c5c67c23a1b4d063e9f4525
  Author: Liam Newman <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy

  Log Message:
  -----------
  Update 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy

Co-authored-by: Tim Jacomb <[email protected]>


  Commit: 307b197196e95d521fb8275645810a46ccbc8469
      
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/307b197196e95d521fb8275645810a46ccbc8469
  Author: Liam Newman <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy

  Log Message:
  -----------
  Update 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy


  Commit: 7786fce3dba09a4b2216445165dafe7b3e7b428b
      
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/7786fce3dba09a4b2216445165dafe7b3e7b428b
  Author: Liam Newman <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy

  Log Message:
  -----------
  Update 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy

Co-authored-by: Devin Nusbaum <[email protected]>


  Commit: 3ff5989135186a9c0326886a3482792bfbe4888b
      
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/3ff5989135186a9c0326886a3482792bfbe4888b
  Author: Liam Newman <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java

  Log Message:
  -----------
  Update 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java


  Commit: c6fefb1957ad5d8dd7d393d434720545b312961d
      
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/c6fefb1957ad5d8dd7d393d434720545b312961d
  Author: Liam Newman <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M 
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy
    M 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AbstractModelDefTest.java
    M 
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java

  Log Message:
  -----------
  Merge pull request #405 from bitwiseman/task/script-splitting/update

[JENKINS-34987] - Allow better script splitting in more scenarios


Compare: 
https://github.com/jenkinsci/pipeline-model-definition-plugin/compare/0f5a324ef967...c6fefb1957ad

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/pipeline-model-definition-plugin/push/refs/heads/master/0f5a32-c6fefb%40github.com.

Reply via email to