Plugin Information |
---|
View Pipeline: Declarative on the plugin site for more information. |
Older versions of this plugin may not be safe to use. Please review the following warnings before using an older version:
Declarative Jenkins Pipelines
SYNTAX COMPATIBILITY CHANGES IN VERSIONS 0.5, 0.6, 0.7 and 0.8
See the GitHub Wiki for more information.
This plugin requires Jenkins 2.7.1 or later
More Information at the GitHub Wiki
More information is available at the GitHub Wiki.
Changelog
Version 0.8 (Beta 2) (unreleased)
- JENKINS-40418 - Fix previously-not-running validation for triggers, parameters and properties.
- JENKINS-40337 - Rename
properties
tooptions
and add the first Declarative-specificoption
,skipDefaultCheckout
. - JENKINS-40462 - Get rid of
wrappers
section, move wrappers liketimeout
andretry
intooptions
section. - JENKINS-40580 - Quote parallel branch names to make sure they're valid.
- JENKINS-40642 - Add additional default imports so that things like
@Library
and@NonCPS
work. - JENKINS-40239 - Add descriptions for build conditions.
- JENKINS-40393 - Internationalize error messages!
- JENKINS-40524 - Reworked
agent
syntax to be more extensible and consistent.
Version 0.7.1 (still Beta 1) (Dec 13, 2016)
- Re-spinning release due to a mixup that resulted in one of the sub-plugins not ending up in the Update Center.
Version 0.7 (Beta 1) (Dec 13, 2016)
- JENKINS-39134 - Fix issue with Guice and resuming a build within a
script
block. - JENKINS-38153 - Use the new
TagsAction
class to mark skipped stages so that Blue Ocean can render them accurately. - JENKINS-39923 - Add new
jenkins-cli
command for linting a Declarative Jenkinsfile. - JENKINS-40136 - Properly allow use of
failFast
withparallel
. - JENKINS-40226 - Make sure non-
stage
failures still triggerpost
failure conditions.
Version 0.6 (Nov 17, 2016)
- JENKINS-39216 - Add
dockerfile
agent backend, auto-building a Dockerfile and running the build in the resulting image. - JENKINS-39631 - Fix error status for steps within stages.
- JENKINS-37781 - Add conditional execution of individual stages via the
when
section. - JENKINS-39394 - Removing
notifications
completely, renamingpostBuild
topost
for consistency with post-stage actions. - JENKINS-39799 - Fix a bug with invalid
post
contents.
Version 0.5 (Nov 2, 2016)
- JENKINS-37823 -
wrappers
section for wrapping the entire build in a block-scoped step, likeretry
ortimeout
. - JENKINS-38433 -
agent
backends are now pluggable. - JENKINS-39245 - Added
environment
section support in stages. - JENKINS-39244 - Added
tools
section support in stages. - JENKINS-38993 - Deterministic order for post-build/stage condition execution.
- JENKINS-39011 - Properly error out if the
pipeline
step is present but not at the top-level. - JENKINS-39109 - Add a configuration option for what label to use for docker agents.
- JENKINS-38865 - Split the AST into a separate plugin so others can depend on it without pulling everything in.
- JENKINS-38331 - Per-stage configuration for agent.
- JENKINS-37792 - Post-stage actions added.
Version 0.4 (Oct 11, 2016)
- 0.3 was inadvertently built with Java 8 - so a new release is needed.
- JENKINS-37824 - Support for job properties, triggers and build parameters.
Version 0.3 (Oct 10, 2016)
- JENKINS-38818 - Correctly escape string constants when generating groovy from AST
- JENKINS-38564 - API to convert json step blob to step syntax (and back) - one step at a time
- JENKINS-37788 - Use
isLiteral
instead ofisConstant
- JENKINS-38426 - Allow non-literal expressions for environment variable values.
- JENKINS-38242 - Allow specifying arguments for Docker.
- JENKINS-38152 - Expose the execution model on the
WorkflowRun
. - JENKINS-37932 - Add
agent any
to replaceagent label:""
. - JENKINS-38097 - Execute empty named stages for any planned stages after a stage fails so that execution model and actual execution match up.
Version 0.2 (Sept 8, 2016)
- JENKINS-37897 - switch to block-scoped stages and add synthetic stages for notifications and postBuild.
- JENKINS-37828 - Properly reject mixes of
parallel
and other steps. - JENKINS-37928 - Properly detect sections without values.
- JENKINS-38047 - Allow multiple unnamed parameters in declarative subset.
Version 0.1 (Aug 30, 2016)
- Initial beta release. Functional but limited.