Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64539

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • job-dsl-plugin
    • None

      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"))
      }

       

          [JENKINS-64539] No such property: Secret for class: javaposse.jobdsl.plugin.structs.DescribableContext

          Israel Abril created issue -
          Israel Abril made changes -
          Description Original: 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:
          {code:java}
          password{
             name('name')
             description('description')
             defaultValueAsSecret(Secret.fromString("foo"))
          }{code}
           
          New: 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:
          {code:java}
          password{
             name('name')
             description('description')
             defaultValueAsSecret(Secret.fromString("foo"))
          }{code}
           
          Israel Abril made changes -
          Description Original: 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:
          {code:java}
          password{
             name('name')
             description('description')
             defaultValueAsSecret(Secret.fromString("foo"))
          }{code}
           
          New: 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:
          {code:java}
          password{
             name('name')
             description('description')
             defaultValueAsSecret(Secret.fromString("foo"))
          }{code}
           
          Israel Abril made changes -
          Description Original: 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:
          {code:java}
          password{
             name('name')
             description('description')
             defaultValueAsSecret(Secret.fromString("foo"))
          }{code}
           
          New: 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:
          {code:java}
          password{
             name('name')
             description('description')
             defaultValueAsSecret(Secret.fromString("foo"))
          }{code}
           
          Israel Abril made changes -
          Description Original: 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:
          {code:java}
          password{
             name('name')
             description('description')
             defaultValueAsSecret(Secret.fromString("foo"))
          }{code}
           
          New: 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:
          {code:java}
          password{
             name('name')
             description('description')
             defaultValueAsSecret(Secret.fromString("foo"))
          }{code}
           
          Jamie Tanna made changes -
          Assignee Original: Daniel Spilker [ daspilker ] New: Jamie Tanna [ jamietanna ]

            jamietanna Jamie Tanna
            iabril Israel Abril
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: