Airship: add cleanup jobs for integration tests
[infra/cicd.git] / jjb / airship / projects.yml
index 59546d6a6d457a5391d4b1944398408487207aa1..b6d52a13d3512cec081878b2412e05ed145c3d84 100644 (file)
     - capi_bm_v1a3_integration_tests_centos
     - capi_bm_v1a3_integration_tests_ubuntu
 
+- project:
+    name: 'metal3io_project_infra_cleanup'
+    ci_github_whitelist_org:
+    - nordix-airship
+    repo:
+      org: "metal3-io"
+      name: "project-infra"
+    ci_github_pipeline: 'jenkins/jobs/integration_tests_clean.pipeline'
+    jobs:
+    - capi_bm_master_clean
+
+- project:
+    name: 'metal3io_project_infra_cleanup_test'
+    branch: '${{ghprbActualCommit}}'
+    ci_github_whitelist_org:
+    - nordix-airship
+    repo:
+      org: "metal3-io"
+      name: "project-infra"
+    ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
+    ci_github_pipeline: 'jenkins/jobs/integration_tests_clean.pipeline'
+    jobs:
+    - capi_bm_clean
+
 - project:
     name: "metal3io_bmo"
     repo: