Skip to content

Releases: taiidani/terraform-provider-jenkins

v0.8.0

08 Aug 19:21
ca68c55
Compare
Choose a tag to compare

Notable Changes

  • Added display_name property to jenkins_folder resource #53, thanks @zahiar!
  • Added resources for jenkins_credential_ssh #46 and jenkins_credential_secret_file #40, thanks @jaceq!
  • Fixed a bug in jenkins_job where the XML prolog could get incorrectly encoded #48, thanks @hedinfaok!

Changelog

ca68c55 Enable changelog in generated release
04d1596 Bump actions/stale from 3 to 4 (#55)
184ba2b Add display_name support to jenkins_folder resource (#53)
3a471c6 Add pull_request event to test workflow
0c5b49f Combine test files, move to golangci-lint (#54)
ac80cb6 Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.6.1 to 2.7.0 (#52)
4ef4eac Create stale.yml
45c42ad Populate README with scope and maintenance status (#49)
3eac3f7 Fixes 47 xml declaration is mangled (#48)
edecbd7 Fix collision with example jenkins_credentials
c609793 Add fake SSH key for examples
93b627b Rename master branch to main
de9ffa2 Resource: jenkins_credential_ssh (#46)
0cc32a9 Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.5.0 to 2.6.1 (#43)
dae4366 Added support for secret file credentials, bumped gojenkins to latest… (#40)
e36bdbc Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.4.4 to 2.5.0 (#38)

v0.7.0

30 May 21:48
b6c4a87
Compare
Choose a tag to compare

Breaking Changes

Internal ID Structure #21

The internal id attribute of Jobs and Credentials has been changed to closer align with their canonical URLs within Jenkins. When updating to this version you may need to terraform state rm and terraform state import any existing Jobs, Folders, or Credentials in your state files in order to update their Ids.

Explicit Folder Property #21

This changes how folders are specified in Jobs and Folders. There is now an explicit folder property where you can specify the folder name, or in the case of folders the parent folder(s) name. A validation has been added to the name property that will guide users away from using it for folder structures. RECOMMENDED: Use the id output from your jenkins_folder resource or data source as the input to the folder property.

Folder Resource Structured #24

The folder resource has been converted into a "structured" type, in that it now directly parses the XML of the Jenkins folder job and converts it into properties. The impact of this is that the template property is no longer customizable, and the resource is now very opinionated about what it supports. If you are using a feature of Folders that previously worked with the template property and is now not working, please file an issue.

As a workaround, you may also specify Jenkins folders using the jenkins_job resource which retains the ability to directly specify a template.

Additional Changes

  • #24 Added a data source for jenkins_folder.
  • #28 Added data sources for jenkins_job, jenkins_credential_username, and jenkins_credential_vault_approle.
  • #24 Folders are now importable.
  • #25 Added support for Hashicorp Vault AppRole credentials with jenkins_credential_vault_approle (thanks @mishak87!)
  • #36 Added support for Secret Text credentials with jenkins_credential_secret_text (thanks @jaceq!)
  • #40 Added support for Secret File credentials with jenkins_credential_secret_file (thanks @jaceq!)
  • #46 Added support for SSH credentials with jenkins_credential_ssh (thanks @jaceq!)
  • #17 Updated the makefile for Terraform 0.14 with instructions on how to build a binary locally for testing.
  • Added automation for releasing new versions to the Terraform Registry.
  • Added Dependabot automation for keeping Go dependencies up to date.

See https://github.com/taiidani/terraform-provider-jenkins/milestone/4?closed=1 for contributing issues and pull requests.

v0.7.0-beta3

24 Mar 01:13
a368431
Compare
Choose a tag to compare
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.4.2 to 2.4.4…

v0.7.0-beta2

10 Jan 19:34
e2df3b6
Compare
Choose a tag to compare
v0.7.0-beta2 Pre-release
Pre-release
Add remaining data resources (#28)

* Add data sources for remaining resources

* Test fix

* Fix the test fix

v0.7.0-beta1

02 Jan 03:02
296ad47
Compare
Choose a tag to compare
v0.7.0-beta1 Pre-release
Pre-release

Breaking Changes

Internal ID Structure #21

The internal id attribute of Jobs and Credentials has been changed to closer align with their canonical URLs within Jenkins. When updating to this version you may need to terraform state rm and terraform state import any existing Jobs, Folders, or Credentials in your state files in order to update their Ids.

Explicit Folder Property #21

This changes how folders are specified in Jobs and Folders. There is now an explicit folder property where you can specify the folder name, or in the case of folders the parent folder(s) name. A validation has been added to the name property that will guide users away from using it for folder structures. RECOMMENDED: Use the id output from your jenkins_folder resource or data source as the input to the folder property.

Folder Resource Structured #24

The folder resource has been converted into a "structured" type, in that it now directly parses the XML of the Jenkins folder job and converts it into properties. The impact of this is that the template property is no longer customizable, and the resource is now very opinionated about what it supports. If you are using a feature of Folders that previously worked with the template property and is now not working, please file an issue.

As a workaround, you may also specify Jenkins folders using the jenkins_job resource which retains the ability to directly specify a template.

Additional Changes

  • #24 Added a data source for jenkins_folder.
  • #24 Folders are now importable.
  • #25 Added support for Hashicorp Vault AppRole credentials with jenkins_credential_vault_approle (thanks @mishak87!)
  • #17 Updated the makefile for Terraform 0.14 with instructions on how to build a binary locally for testing.
  • Added automation for releasing new versions to the Terraform Registry.

See https://github.com/taiidani/terraform-provider-jenkins/milestone/4?closed=1 for contributing issues and pull requests.

v0.6.0

23 Aug 22:22
aacbf44
Compare
Choose a tag to compare

Changelog

aacbf44 Adding jenkins_credential_username resource (#15)
b8c500f Expand test coverage, reinforce mocks (#16)
81fdf20 Create Example directory (#14)

v0.5.0

09 Aug 16:19
cf0a785
Compare
Choose a tag to compare

Changelog

52fba0e Add goreleaser
0b07363 Update documentation for TF registry
c938753 Upgrade to Terraform SDK v2 (#12)
368eb66 Add CodeCov coverage tracking

0.4 Initial Release

05 May 07:04
4624dbc
Compare
Choose a tag to compare

Initial release of the provider. See https://www.ryannixon.com/terraform-provider-jenkins/ for documentation.

Supporting:

  • jenkins_folder
  • jenkins_job

Note that some resources may require certain plugins to be installed on the target Jenkins instance.