DeployHubProject / DeployHub-Pro

DeployHub Pro Pipeline Status Project
https://www.openmakesoftware.com/application-release-automation-for-continuous-delivery/
Other
11 stars 4 forks source link

A way to create Environments and Endpoints from Jenkins plugin #292

Closed bglee closed 4 years ago

bglee commented 4 years ago

Recently the Jenkins Deployhub plugin was changed to allow the updating of Endpoints and Environments with new attributes.

It would be nice if the plugin also contained methods for creating Endpoints and Environments. This way entire Environments could be created from Jenkins pipelines.

CC: @piyush94 , @svisagan83

sbtaylor15 commented 4 years ago

@bglee what type of userid and password are you using for your end points? We don't want to put that info in the Jenkinsfile. A userid and reference to a private key should be safe since the private key is just a reference and not the key itself.

CC: @piyush94 , @svisagan83

piyush94 commented 4 years ago

@sbtaylor15 In most cases a credential would pre-exist in the DeployHub. Will it be possible to only pass in the reference to the credential while creating endpoint in Jenkinsfile?

CC: @bglee , @svisagan83

sbtaylor15 commented 4 years ago

@piyush94 ok, we will assume that the credential pre-exists and then the jenkinsfile will just supply the name of the credential to use.

CC: @bglee , @svisagan83

piyush94 commented 4 years ago

@sbtaylor15 I think we can close this issue.