[JIRA] (JENKINS-59067) Add ability to create CasC credentials with BlueOceanDomainSpecification

2 views
Skip to first unread message

dannyseeless@gmail.com (JIRA)

unread,
Aug 23, 2019, 11:31:02 PM8/23/19
to jenkinsc...@googlegroups.com
Danny Seymour created an issue
 
Jenkins / New Feature JENKINS-59067
Add ability to create CasC credentials with BlueOceanDomainSpecification
Issue Type: New Feature New Feature
Assignee: Ewelina Wilkosz
Components: blueocean-plugin, configuration-as-code-plugin
Created: 2019-08-24 03:30
Labels: plugin configuration
Priority: Minor Minor
Reporter: Danny Seymour

Jenkins currently doesn't expose the data bindings necessary to be able to create credentials using CasC that can be used to create Blue Ocean pipelines. From what I can tell (and I'm not Java expert), this is the only thing missing to be able to manage Blue Ocean credentials using CasC.

This is one of the last things that I personally need to be able to finish configuring Jenkins using not but the CasC plugin and externally available Kubernetes secrets.

The code that I'm using to come to this conclusion is here:

https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-github-pipeline/src/main/java/io/jenkins/blueocean/blueocean_github_pipeline/GithubPipelineCreateRequest.java#L101
https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-pipeline-scm-api/src/main/java/io/jenkins/blueocean/credential/CredentialsUtils.java
https://github.com/jenkinsci/blueocean-plugin/blob/v1.0.1/blueocean-pipeline-scm-api/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/credential/BlueOceanDomainSpecification.java

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages