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.2KB

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