kitchen-windows2019-py2 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. @Library('salt@master-1.4') _
  2. // Define the maximum time, in hours, that a test run should run for
  3. def testrun_timeout = 6
  4. def distro_name = 'windows'
  5. def distro_version = '2019'
  6. def python_version = 'py2'
  7. def nox_env_name = 'pytest-zeromq'
  8. def golden_images_branch = 'master'
  9. def nox_passthrough_opts = '--log-cli-level=warning --ignore=tests/utils'
  10. def concurrent_builds = 1
  11. def use_spot_instances = true
  12. def jenkins_slave_label = 'kitchen-slave'
  13. def splits = ['unit', 'multimaster', 'integration']
  14. properties([
  15. buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '30')),
  16. parameters([
  17. booleanParam(defaultValue: true, description: 'Run full test suite', name: 'runFull')
  18. ])
  19. ])
  20. runTests(
  21. env: env,
  22. distro_name: distro_name,
  23. distro_version: distro_version,
  24. python_version: python_version,
  25. golden_images_branch: golden_images_branch,
  26. nox_env_name: nox_env_name,
  27. nox_passthrough_opts: nox_passthrough_opts,
  28. testrun_timeout: testrun_timeout,
  29. concurrent_builds: concurrent_builds,
  30. run_full: params.runFull,
  31. use_spot_instances: use_spot_instances,
  32. jenkins_slave_label: jenkins_slave_label,
  33. splits: splits)
  34. // vim: ft=groovy