No such property: Secret for class: javaposse.jobdsl.plugin.structs.DescribableContext

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      After Jenkins upgrade to 2.249, the "password" parameter can't be used since the defaultValue("foo") has been replaced by defaultValueAsSecret(Secret.fromString("foo")) (as described in https://issues.jenkins.io/browse/JENKINS-63499) and DSL Job plugin doesn't recognize the  hudson.util.Secret class.

       

      Getting the error:

      No such property: Secret for class: javaposse.jobdsl.plugin.structs.DescribableContext

       

      Example:

      password{
         name('name')
         description('description')
         defaultValueAsSecret(Secret.fromString("foo"))
      }

       

            Assignee:
            Jamie Tanna
            Reporter:
            Israel Abril
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: