Tools to make Jenkins jobs from templates
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

parameter-override-ordering-001.xml 7.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <project>
  3. <actions/>
  4. <description>testing macro trigger-parameterized-builds order v1.0&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
  5. <keepDependencies>false</keepDependencies>
  6. <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  7. <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  8. <concurrentBuild>false</concurrentBuild>
  9. <canRoam>true</canRoam>
  10. <properties/>
  11. <scm class="hudson.scm.NullSCM"/>
  12. <builders>
  13. <hudson.tasks.Shell>
  14. <command>#!/usr/bin/env python
  15. #
  16. print(&quot;Doing something cool with python&quot;)
  17. </command>
  18. </hudson.tasks.Shell>
  19. </builders>
  20. <publishers>
  21. <hudson.plugins.parameterizedtrigger.BuildTrigger>
  22. <configs>
  23. <hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  24. <configs>
  25. <hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  26. <properties>BUILD_NUM=${BUILD_NUMBER}</properties>
  27. </hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  28. <hudson.plugins.parameterizedtrigger.FileBuildParameters>
  29. <propertiesFile>default_version.prop</propertiesFile>
  30. <failTriggerOnMissing>false</failTriggerOnMissing>
  31. </hudson.plugins.parameterizedtrigger.FileBuildParameters>
  32. <hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
  33. </configs>
  34. <projects>default_job</projects>
  35. <condition>ALWAYS</condition>
  36. <triggerFromChildProjects>false</triggerFromChildProjects>
  37. <triggerWithNoParameters>false</triggerWithNoParameters>
  38. </hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  39. </configs>
  40. </hudson.plugins.parameterizedtrigger.BuildTrigger>
  41. <hudson.plugins.parameterizedtrigger.BuildTrigger>
  42. <configs>
  43. <hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  44. <configs>
  45. <hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  46. <properties>BUILD_NUM=${BUILD_NUMBER}</properties>
  47. </hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  48. <hudson.plugins.parameterizedtrigger.FileBuildParameters>
  49. <propertiesFile>default_version.prop</propertiesFile>
  50. <failTriggerOnMissing>false</failTriggerOnMissing>
  51. </hudson.plugins.parameterizedtrigger.FileBuildParameters>
  52. <hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
  53. </configs>
  54. <projects>first_job</projects>
  55. <condition>ALWAYS</condition>
  56. <triggerFromChildProjects>false</triggerFromChildProjects>
  57. <triggerWithNoParameters>false</triggerWithNoParameters>
  58. </hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  59. <hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  60. <configs>
  61. <hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
  62. <hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  63. <properties>foo=bar</properties>
  64. </hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  65. <hudson.plugins.parameterizedtrigger.FileBuildParameters>
  66. <propertiesFile>version.prop</propertiesFile>
  67. <failTriggerOnMissing>false</failTriggerOnMissing>
  68. </hudson.plugins.parameterizedtrigger.FileBuildParameters>
  69. </configs>
  70. <projects>second_job</projects>
  71. <condition>ALWAYS</condition>
  72. <triggerFromChildProjects>false</triggerFromChildProjects>
  73. <triggerWithNoParameters>false</triggerWithNoParameters>
  74. </hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  75. </configs>
  76. </hudson.plugins.parameterizedtrigger.BuildTrigger>
  77. </publishers>
  78. <buildWrappers/>
  79. </project>
  80. <?xml version="1.0" encoding="utf-8"?>
  81. <project>
  82. <actions/>
  83. <description>testing macro trigger-parameterized-builds order v1.2&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
  84. <keepDependencies>false</keepDependencies>
  85. <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  86. <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  87. <concurrentBuild>false</concurrentBuild>
  88. <canRoam>true</canRoam>
  89. <properties/>
  90. <scm class="hudson.scm.NullSCM"/>
  91. <builders>
  92. <hudson.tasks.Shell>
  93. <command>#!/usr/bin/env python
  94. #
  95. print(&quot;Doing something cool with python&quot;)
  96. </command>
  97. </hudson.tasks.Shell>
  98. </builders>
  99. <publishers>
  100. <hudson.plugins.parameterizedtrigger.BuildTrigger>
  101. <configs>
  102. <hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  103. <configs>
  104. <hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  105. <properties>BUILD_NUM=${BUILD_NUMBER}</properties>
  106. </hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  107. <hudson.plugins.parameterizedtrigger.FileBuildParameters>
  108. <propertiesFile>default_version.prop</propertiesFile>
  109. <failTriggerOnMissing>false</failTriggerOnMissing>
  110. </hudson.plugins.parameterizedtrigger.FileBuildParameters>
  111. <hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
  112. </configs>
  113. <projects>default_job</projects>
  114. <condition>ALWAYS</condition>
  115. <triggerFromChildProjects>false</triggerFromChildProjects>
  116. <triggerWithNoParameters>false</triggerWithNoParameters>
  117. </hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  118. </configs>
  119. </hudson.plugins.parameterizedtrigger.BuildTrigger>
  120. <hudson.plugins.parameterizedtrigger.BuildTrigger>
  121. <configs>
  122. <hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  123. <configs>
  124. <hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  125. <properties>BUILD_NUM=${BUILD_NUMBER}</properties>
  126. </hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  127. <hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
  128. <hudson.plugins.parameterizedtrigger.FileBuildParameters>
  129. <propertiesFile>version.prop</propertiesFile>
  130. <failTriggerOnMissing>false</failTriggerOnMissing>
  131. </hudson.plugins.parameterizedtrigger.FileBuildParameters>
  132. </configs>
  133. <projects>1.2_first_job</projects>
  134. <condition>ALWAYS</condition>
  135. <triggerFromChildProjects>false</triggerFromChildProjects>
  136. <triggerWithNoParameters>false</triggerWithNoParameters>
  137. </hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  138. <hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  139. <configs>
  140. <hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
  141. <hudson.plugins.parameterizedtrigger.FileBuildParameters>
  142. <propertiesFile>1.2_version.prop</propertiesFile>
  143. <failTriggerOnMissing>false</failTriggerOnMissing>
  144. </hudson.plugins.parameterizedtrigger.FileBuildParameters>
  145. <hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  146. <properties>foo=bar</properties>
  147. </hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
  148. </configs>
  149. <projects>1.2_second_job</projects>
  150. <condition>ALWAYS</condition>
  151. <triggerFromChildProjects>false</triggerFromChildProjects>
  152. <triggerWithNoParameters>false</triggerWithNoParameters>
  153. </hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
  154. </configs>
  155. </hudson.plugins.parameterizedtrigger.BuildTrigger>
  156. </publishers>
  157. <buildWrappers/>
  158. </project>