Closed pserranoa closed 6 years ago
I make some changes to your plugin and your jenkins utils to avoid manage credentials located under job. You should use a new parameter "jobpath" to indicate the location of the job.
Ex. resource "jenkins_username_credential" "cheduller01" { identifier = "terraform_create_credential_dos" username = "admin" password = "xxxxxxxxxxxxxxxxxxxxxxxxxxx" jobpath = "Scheduller01" domain = "team01" description = "team01 - cheduller01" }
I send you the pull request of the package that manage jenkins too.
Thanks for contributing!
I make some changes to your plugin and your jenkins utils to avoid manage credentials located under job. You should use a new parameter "jobpath" to indicate the location of the job.
Ex. resource "jenkins_username_credential" "cheduller01" { identifier = "terraform_create_credential_dos" username = "admin" password = "xxxxxxxxxxxxxxxxxxxxxxxxxxx" jobpath = "Scheduller01" domain = "team01" description = "team01 - cheduller01" }
I send you the pull request of the package that manage jenkins too.