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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

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

       

        Attachments

          Activity

          iabril Israel Abril created issue -
          iabril Israel Abril made changes -
          Field Original Value New Value
          Description 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}
           
          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}
           
          iabril Israel Abril made changes -
          Description 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}
           
          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}
           
          iabril Israel Abril made changes -
          Description 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}
           
          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}
           
          iabril Israel Abril made changes -
          Description 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}
           
          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}
           

            People

            Assignee:
            daspilker Daniel Spilker
            Reporter:
            iabril Israel Abril
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: