| Trying to create a "secret text" (string) credential in a folder using job-dsl. But according to the job-dsl api-viewer, our Jenkins only has the following credential types: _basicSSHUserPrivateKey {} certificateCredentialsImpl {} fileSystemServiceAccountCredential {} openShiftBearerTokenCredentialImpl {} usernamePasswordCredentialsImpl {}_ We can create a string credential manually in the webui. Has "secret text" not been implmemented in job-dsl? I'm expecting a type should exist with properties: scope, id, description, and secret. Our folder definition starts:
folder("test_folder") {
displayName("Test Folder")
description("Our test folder")
properties {
folderCredentialsProperty {
domainCredentials {
domainCredentials {
domain {
name("main")
description("")
}
credentials {
<WHERE'S THE STRING TYPE?>
....
|