Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pipeline-model-definition from 1.2 to 1.8.4 #248

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 20, 2021

Bumps pipeline-model-definition from 1.2 to 1.8.4.

Release notes

Sourced from pipeline-model-definition's releases.

v1.8.4 🌈

Changes

v1.8.3 🌈

Changes

v1.8.2 🌈

🐛 Bug Fixes

  • [JENKINS-37984] Improved output for local variable declarations with script splitting @​bitwiseman (#413)

v1.8.1 🌈

🐛 Bug Fixes

v1.8.0 🌈

Potentially Breaking Changes

Dependency on docker-workflow removed

Previously, pipeline-model-definition had a dependency on docker-workflow to supply agent docker and agent dockerfile definitions. As of docker-workflow v1.22, the definitions for for these were moved to the {{docker-workflow}} plugin, which added an optional dependency on pipeline-model-definition.

With this release of pipeline-model-definition you must have docker-workflow v1.22 or greater installed in order to use agent docker and agent dockerfile. If you do not, those directives will not work.

Improved "Script splitting" (still experimental)

If you have used sufficiently complex Declarative Pipelines you may have run into JENKINS-37984 - Method code too large!. There is no way to detect this issue before it occurs and it has nothing to do with the size of the Jenkinsfile text. The issue stems from a limitation of Java Class File structure. Any sufficiently large Groovy script can encounter this issue, but Declarative pipeline is much more likely to hit this due the amount of code generation it does. It is particularly easy to hit this limit using matrix directive.

As part of the release of matrix in v1.7.0, we added an experimental feature that could be activated by setting SCRIPT_SPLITTING_TRANSFORMATION=true that mitigated this issue by changing the structure of the code generated by Declarative pipeline. With this release, we were able to further improve that experimental "script splitting" behavior to cover more scenarios. The trade-off required to achieve this was that any local declared variable must be changed to class members by adding a @Field annotation.

Changes

  • [JENKINS-37984] - Allow better script splitting in more scenarios @​bitwiseman (#405)
  • In validation and elsewhere, prefer metasteps to other non-step descriptors @​abayer (#411)
  • [JENKINS-58732] Remove docker-workflow dependency (refiled) @​jglick (#393)
  • Use bom for more dependencies including Jackson @​chriskilding (#399)
  • [JENKINS-56379] Switch to f:hetero-list @​jsoref (#317)
  • [JENKINS-64508] Add extension point for globally defined when conditions @​abayer (#409)
  • Allow ModelParser to be run outside of a Jenkins instance @​abayer (#406)
  • Support Declarative Pipeline Syntax Within Jenkins Templating Engine @​steven-terrana (#403)
  • JENKINS-62808 Fix tests when using tables to divs @​timja (#402)

v1.7.2 🌈

Changes

... (truncated)

Changelog

Sourced from pipeline-model-definition's changelog.

Changelog

Version 1.5.0

(December 3, 2019)

Version 1.4.0

(November 4, 2019)

Version 1.3.9

(June 7, 2019)

  • JENKINS-57162agent dockerfile  name/hash should incorporate build args.
  • JENKINS-57826post  on a stage  should handle catchError 's stageResult  as distinct from the status of the whole build.

Version 1.3.8

(April 15, 2019)

  • JENKINS-46354 - Don't skip all stages when retrying from top level.

Version 1.3.7

(March 20, 2019)

... (truncated)

Commits
  • 9f88c2e [maven-release-plugin] prepare release pipeline-model-definition-1.8.4
  • cea7cf3 Merge pull request #415 from bitwiseman/JENKINS-64846
  • e1ef424 Add profiles to run with and without script splitting
  • 3636ef4 Add non-splitting test to cover non-matrix scenario
  • ab6714b [JENKINS-64846] Fix use of local declared variables inside matrix
  • 65b89cd [maven-release-plugin] prepare for next development iteration
  • c9526d3 [maven-release-plugin] prepare release pipeline-model-definition-1.8.3
  • b508fb8 Merge pull request #414 from Benjaminvdv/hotfix/JENKINS-34987
  • 1ef737c Remove space from environment variable
  • 763b731 [maven-release-plugin] prepare for next development iteration
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

@dependabot dependabot bot added dependencies Update of dependencies java Pull requests that update Maven Java dependencies labels Mar 20, 2021
@uhafner
Copy link
Member

uhafner commented Mar 21, 2021

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/maven/org.jenkinsci.plugins-pipeline-model-definition-1.8.4 branch from 13a0971 to 9819bf1 Compare March 21, 2021 16:25
@uhafner uhafner merged commit 37e1b30 into master Mar 21, 2021
@uhafner uhafner deleted the dependabot/maven/org.jenkinsci.plugins-pipeline-model-definition-1.8.4 branch March 21, 2021 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies java Pull requests that update Maven Java dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant