Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #937 from daspilker/JENKINS-38964
[JENKINS-38964] handle Describables without Descriptor
- Loading branch information
Showing
4 changed files
with
74 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
job-dsl-plugin/src/test/groovy/javaposse/jobdsl/plugin/fixtures/InvalidTrigger.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package javaposse.jobdsl.plugin.fixtures | ||
|
||
import hudson.model.Job | ||
import hudson.triggers.Trigger | ||
import org.kohsuke.stapler.DataBoundConstructor | ||
|
||
class InvalidTrigger extends Trigger<Job> { | ||
@SuppressWarnings('UnnecessaryConstructor') | ||
@DataBoundConstructor | ||
InvalidTrigger() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters