Skip to content

Latest commit

 

History

History
554 lines (408 loc) · 9.68 KB

File metadata and controls

554 lines (408 loc) · 9.68 KB

Changelog

This document is based on theKeep a Changelog 1.0.0 specification.

Each new should include:

  • Version (semantic version)

  • Date of release (in yyyy/mm/dd format)

For each release, a subsection should be added for each of the following if they are non-empty:

  • Added for new features.

  • Changed for changes in existing functionality.

  • Deprecated for soon-to-be removed features.

  • Fixed for any bug fixes.

  • Removed for now removed features.

  • Security in case of vulnerabilities.

UNRELEASED (YYYY/MM/DD)

0.10.1 (2019/07/30)

Changed

  • Remove usage of deprecated layout.directoryProperty in JenkinsIntegrationPlugin

0.10.0 (2019/07/26)

  • Java 11 compatibility with Java 11 compatible Jenkins versions and plugins

Changed

  • Replaced usage of javax.annotation.Generated with another type generated by this library. com.mkobit.jenkins.pipelines.codegen.JenkinsGradlePluginSharedLibraryGenerated is now used instead. This enables Java 11 compatibility with Java 11 compatible Jenkins versions.

  • Updated default versions:

    Component From To

    Core

    2.164.3

    2.176.2

    Test Harness

    2.49

    2.54

    Workflow API Plugin

    2.34

    2.35

    Workflow Basic Steps Plugin

    2.16

    2.18

    Workflow CPS Plugin

    2.68

    2.72

    Workflow Global CPS Library Plugin

    2.13

    2.14

    Workflow Durable Task Step Plugin

    2.30

    2.32

    Workflow Job Plugin

    2.32

    2.33

    Workflow SCM Step Plugin

    2.7

    2.9

    Workflow Step API Plugin

    2.19

    2.20

Fixed

  • Deprecation warning in GenerateJavaFile

0.9.1 (2019/05/28)

Fixed

0.9.0 (2019/05/22)

Changed

  • Dependency version updates

  • Updated default versions:

    Component From To

    Core

    2.138.3

    2.164.3

    Test Harness

    2.44

    2.49

    Workflow API Plugin

    2.33

    2.34

    Workflow Basic Steps Plugin

    2.13

    2.16

    Workflow CPS Plugin

    2.61

    2.68

    Workflow Global CPS Library Plugin

    2.12

    2.13

    Workflow Durable Task Step Plugin

    2.26

    2.30

    Workflow Multibranch Plugin

    2.20

    2.21

    Workflow Step API Plugin

    2.16

    2.19

    Workflow Job Plugin

    2.29

    2.32

    Workflow Support Plugin

    2.23

    3.3

Fixed

  • The header key for both API token authentication and basic authentication was is now Authorization instead of the incorrect Authentication

0.8.0 (2018/11/30)

This version requires at least Gradle 5.0+.

Changed

  • A few unintentional public functions have been moved to internal

  • Tasks created and configured in plugins have been updated to use configuration avoidance (named, register) while configurations and other domain objects have been switched back to the immediate APIs (create, getByName)

  • Dependency version updates

  • Updated default versions:

    Component From To

    Core

    2.121.3

    2.138.3

    Test Harness

    2.40

    2.44

    Workflow API Plugin

    2.29

    2.33

    Workflow Basic Steps Plugin

    2.10

    2.13

    Workflow CPS Plugin

    2.54

    2.61

    Workflow Global CPS Library Plugin

    2.10

    2.12

    Workflow Durable Task Step Plugin

    2.21

    2.26

    Workflow Job Plugin

    2.24

    2.29

    Workflow SCM Step Plugin

    2.6

    2.7

    Workflow Support Plugin

    2.20

    2.23

0.7.0 (2018/09/04)

This version requires at least Gradle 4.10.

Changed

  • Built with Gradle 4.10 and Kotlin DSL Plugin 1.0-rc-3

  • Updated default versions:

    Component From To

    Core

    2.107.2

    2.121.3

    Test Harness

    2.38

    2.40

    Workflow API Plugin

    2.26

    2.29

    Workflow Basic Steps Plugin

    2.6

    2.10

    Workflow CPS Plugin

    2.47

    2.54

    Workflow Durable Task Step Plugin

    2.19

    2.21

    Workflow Global CPS Library Plugin

    2.9

    2.10

    Workflow Job Plugin

    2.18

    2.24

    Workflow Multibranch Plugin

    2.17

    2.20

    Workflow Step API Plugin

    2.14

    2.16

    Workflow Support Plugin

    2.18

    2.20

0.6.2 (2018/04/12)

Changed

0.6.1 (2018/04/11)

Fixed

0.6.0 (2018/04/10)

Added

  • All org.jenkins-ci.modules group dependencies from the jenkins-war dependency are included in integration tests. This should hopefully reduce a lot of the standard out error noise by Jenkins during tests.

Changed

  • javapoet, okhttp, and kotlin-logging package version upgrades

  • Breaking - all exposed extension properties have been changed to the Property API. In Groovy, the existing DSL still works fine due to Gradle DSL decoration:

    sharedLibrary {
      coreVersion = "2.114"
      testHarnessVersion = "2.32"
      pluginDependencies {
        workflowCpsPluginVersion = "2.4"
        workflowCpsGlobalLibraryPluginVersion = "2.9"
        dependency("io.jenkins.blueocean", "blueocean-web", "1.3.0")
      }
    }

    However if using the Kotlin DSL, you will need to use .set until kotlin-dsl/380 is resolved.

    sharedLibrary {
      coreVersion.set("2.86")
      testHarnessVersion.set("2.32")
      pluginDependencies {
        workflowCpsGlobalLibraryPluginVersion.set("2.9")
        workflowCpsPluginVersion.set("2.4")
        dependency("io.jenkins.blueocean", "blueocean-web", "1.3.0")
      }
    }
  • Updated default versions:

    Component From To

    Core

    2.89.4

    2.107.1

    Test Harness

    2.34

    2.38

    Workflow CPS Plugin

    2.45

    2.47

    Workflow Job Plugin

    2.17

    2.18

0.5.0 (2018/03/06)

Added

  • New plugin to integrate with a specific Jenkins instance. This will be built upon in the future to allow for auto-management of dependencies. For now, a few tasks are added to download the GDSL, retrieve the plugin lists if you have appropriate permissions, and retrieve the core version. These tasks are experimental until better support arrives.

    import java.net.URL
    import com.mkobit.jenkins.pipelines.http.BasicAuthentication
    
    jenkinsIntegration {
      baseUrl = new URL('https://mycorp.jenkins.zone')
      authentication = providers.provider { new BasicAuthentication(property('username'), property('password') }
    }
    ./gradlew retrieveJenkinsGdsl
    ./gradlew retrieveJenkinsPluginData
    ./gradlew retrieveJenkinsVersion
  • Support for using Jenkins core and plugins in library source code

  • Support for @Grab in library source

    Warning
    Unit testing code that uses @Grab does not seem to work. See this StackOverflow question. You can, however, still test other code that does not use @Grab

Changed

  • Updated default versions:

    Component From To

    Core

    2.89.2

    2.89.4

    Test Harness

    2.33

    2.34

    Workflow API Plugin

    2.24

    2.26

    Workflow CPS Plugin

    2.42

    2.45

    Workflow Durable Task Step Plugin

    2.17

    2.19

    Workflow Job Plugin

    2.16

    2.17

    Workflow Support Plugin

    2.16

    2.18

Fixed

  • KDoc links to external documentation

Removed

  • Support for Gradle 4.3, 4.4, and 4.5. Only 4.6 is supported right now.

  • integrationTest source set configurations no longer extends from any test source set configurations. You will now need to specify dependencies for both.

0.4.0 (2018/01/06)

Added

  • Support for @NonCPS in library definition

Changed

  • Upgraded to Gradle 4.4.1

  • Upgraded to Kotlin 1.2.10

  • Updated default versions:

    Component From To

    Core

    2.73.2

    2.89.2

    Test Harness

    2.31

    2.33

    Workflow API Plugin

    2.22

    2.24

    Workflow CPS Plugin

    2.40

    2.42

    Workflow Durable Task Step Plugin

    2.15

    2.17

    Workflow Job Plugin

    2.14.1

    2.16

    Workflow Step API Plugin

    2.13

    2.14

    Workflow Support Plugin

    2.15

    2.16

Fixed

  • Generated library retriever no longer logs on the same line as the first step

0.3.2 (2017/10/31)

Fixed

  • Constructor visibility in generated library retriever should be public

0.3.1 (2017/10/31)

Fixed

  • Build fails when ran in a non-clean workspace

0.3.0 (2017/10/31)

Built and tested on Gradle 4.3.

Added

  • Generated classes for integration tests in the com.mkobit.jenkins.pipelines.codegen package namespace. The first generated class is the LocalLibraryRetriever which can be used as a LibraryRetriever for fast feedback in integration tests. See the integration tests or example library for how to use the generated classes.

Changed

  • integrationTest will executed after test if they are both included in the build

  • check now dependsOn integrationTest

  • Default Jenkins Test Harness version: 2.28 to 2.31

  • Default Jenkins Core Version version: 2.73.1 to 2.73.2

Removed

  • The helper methods from PluginDependencySpec for adding dependencies from different groups. cloudbees(), workflow(), jvnet(), jenkinsCi(), and blueocean() have all been removed.

  • git-plugin no longer included

0.2.0 (2017/10/04)

Fixes publishing issues with first release

0.1.0 (2017/09/11)

Initial release