Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/job-dsl-plugin
  Commit: 30022ab257de19bb858b63cb450f0a7f8ecd338c
      
https://github.com/jenkinsci/job-dsl-plugin/commit/30022ab257de19bb858b63cb450f0a7f8ecd338c
  Author: Tom Wieczorek <[email protected]>
  Date:   2022-04-14 (Thu, 14 Apr 2022)

  Changed paths:
    M 
job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/structs/DescribableContext.groovy
    M 
job-dsl-plugin/src/test/groovy/javaposse/jobdsl/plugin/fixtures/DummyTrigger.groovy
    M 
job-dsl-plugin/src/test/groovy/javaposse/jobdsl/plugin/structs/DescribableContextSpec.groovy

  Log Message:
  -----------
  Allow using classes not supported by `structs` for `DescribableContext` 
(#1202)

* Check actual type

This allows for types that are not directly supported by structs to be
used in Job DSL. An example for this is hudson.util.Secret, that's used
by by the ssh-credentials plugin. See JENKINS-57435 for details.

* Add test case for fallback to actual type

* Address CodeNarc issues in tests


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/job-dsl-plugin/push/refs/heads/master/6eae93-30022a%40github.com.

Reply via email to