Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JENKINS-42482: Move properties from DataBoundConstructor to DataB…
…oundSetter so that Job DSL treats them as optional References jenkinsci/slack-plugin#236
- Loading branch information
Showing
2 changed files
with
81 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<project> | ||
<actions/> | ||
<description></description> | ||
<keepDependencies>false</keepDependencies> | ||
<properties/> | ||
<scm class="hudson.scm.NullSCM"/> | ||
<canRoam>true</canRoam> | ||
<disabled>false</disabled> | ||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | ||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | ||
<triggers/> | ||
<concurrentBuild>false</concurrentBuild> | ||
<builders> | ||
<javaposse.jobdsl.plugin.ExecuteDslScripts> | ||
<scriptText>job('test-jobdsl-1') { | ||
scm { | ||
github 'Daniel15Test/JenkinsTest', 'master' | ||
} | ||
triggers { | ||
cron '@midnight' | ||
} | ||
steps { | ||
shell ''' | ||
exit $(((${BUILD_NUMBER}/2)%2)) | ||
''' | ||
} | ||
publishers { | ||
gitHubIssueNotifier { | ||
} | ||
} | ||
}</scriptText> | ||
<usingScriptText>true</usingScriptText> | ||
<ignoreExisting>false</ignoreExisting> | ||
<ignoreMissingFiles>false</ignoreMissingFiles> | ||
<removedJobAction>IGNORE</removedJobAction> | ||
<removedViewAction>IGNORE</removedViewAction> | ||
<lookupStrategy>JENKINS_ROOT</lookupStrategy> | ||
</javaposse.jobdsl.plugin.ExecuteDslScripts> | ||
</builders> | ||
<publishers/> | ||
<buildWrappers/> | ||
</project> |
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