config.xml-fedora 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <project>
  3. <actions/>
  4. <description></description>
  5. <keepDependencies>false</keepDependencies>
  6. <properties>
  7. <hudson.model.ParametersDefinitionProperty>
  8. <parameterDefinitions>
  9. <hudson.model.StringParameterDefinition>
  10. <name>RELEASE_NUMBER</name>
  11. <description>This is the RPM release number</description>
  12. <defaultValue>1</defaultValue>
  13. </hudson.model.StringParameterDefinition>
  14. <hudson.model.StringParameterDefinition>
  15. <name>SOURCES_VERSION</name>
  16. <description>This is the software version to be downloaded from the sources site.</description>
  17. <defaultValue>4.0.7</defaultValue>
  18. </hudson.model.StringParameterDefinition>
  19. <hudson.model.BooleanParameterDefinition>
  20. <name>DEPLOY_RPMS</name>
  21. <description>Instructs the build scripts to deploy the RPMS on the repository service.</description>
  22. <defaultValue>false</defaultValue>
  23. </hudson.model.BooleanParameterDefinition>
  24. <hudson.model.StringParameterDefinition>
  25. <name>SMP_FLAG</name>
  26. <description></description>
  27. <defaultValue>5</defaultValue>
  28. </hudson.model.StringParameterDefinition>
  29. <hudson.model.BooleanParameterDefinition>
  30. <name>OVERRIDE_VERSION_TO_LATEST</name>
  31. <description>The buildrpms target will use an automated macro to choose the latest sources release based on the JSON API in the branch.</description>
  32. <defaultValue>true</defaultValue>
  33. </hudson.model.BooleanParameterDefinition>
  34. <hudson.model.StringParameterDefinition>
  35. <name>SPEC_FILE</name>
  36. <description>The spec file to use in order to build the RPMs.</description>
  37. <defaultValue>squid4beta.spec</defaultValue>
  38. </hudson.model.StringParameterDefinition>
  39. <hudson.model.StringParameterDefinition>
  40. <name>VERSION_BRANCH</name>
  41. <description>Sources branch</description>
  42. <defaultValue>4.0</defaultValue>
  43. </hudson.model.StringParameterDefinition>
  44. <hudson.model.BooleanParameterDefinition>
  45. <name>ENABLE_CCACHE</name>
  46. <description>Use ccache in this build (sets USE_CCACHE=1 or 0)</description>
  47. <defaultValue>true</defaultValue>
  48. </hudson.model.BooleanParameterDefinition>
  49. <hudson.model.StringParameterDefinition>
  50. <name>ALTERNATE_PATH</name>
  51. <description>A full alternative PATH to the environemtn</description>
  52. <defaultValue>/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin</defaultValue>
  53. </hudson.model.StringParameterDefinition>
  54. <hudson.model.BooleanParameterDefinition>
  55. <name>OVERRIDE_PATH</name>
  56. <description>Turn on and off ALTERNATE_PATH usage.</description>
  57. <defaultValue>false</defaultValue>
  58. </hudson.model.BooleanParameterDefinition>
  59. <hudson.model.StringParameterDefinition>
  60. <name>CCACHE_LINKS_PATH</name>
  61. <description>g++\gcc\cc\c++ ccache links location</description>
  62. <defaultValue>/usr/lib64/ccache</defaultValue>
  63. </hudson.model.StringParameterDefinition>
  64. </parameterDefinitions>
  65. </hudson.model.ParametersDefinitionProperty>
  66. </properties>
  67. <scm class="hudson.scm.NullSCM"/>
  68. <canRoam>true</canRoam>
  69. <disabled>false</disabled>
  70. <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  71. <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  72. <triggers/>
  73. <concurrentBuild>false</concurrentBuild>
  74. <builders>
  75. <hudson.tasks.Shell>
  76. <command>rm -rf clone
  77. rm -rf build
  78. /usr/bin/git clone http://gitlab.ngtech.local/elico/squid-centos7-squid4-rpms.git clone
  79. mv clone build
  80. cd build
  81. make crlfclean
  82. make buildrpms
  83. make deployrpms
  84. </command>
  85. </hudson.tasks.Shell>
  86. </builders>
  87. <publishers/>
  88. <buildWrappers/>
  89. </project>