Put cronjobs to run at the same time
[infra/cicd.git] / jjb / metal3 / job_ironic_image_build_test.yml
index 0e1a7d1aa5cf6892cea316efbb8ffd3719a6b76f..5ccd5e23e94866ef9a5c20c63166897a13bbc3dd 100644 (file)
@@ -1,4 +1,3 @@
----
 #
 # ============LICENSE_START=======================================================
 #  Copyright (C) 2019 Nordix Foundation.
     triggers:
     - github-pull-request:
         admin-list:
-          - '{ci_github_admin_user}'
+        - '{ci_github_admin_user}'
         org-list: "{ci_github_whitelist_org}"
         auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '((.|\n)*\s)?/test-ironic-image-build(\s(.|\n)*)?'
+        trigger-phrase: '.*?/test-ironic-image-build.*?'
         cron: 'H/5 * * * *'
         only-trigger-phrase: True
         github-hooks: True
         permit-all: False
         auto-close-on-fail: False
         allow-whitelist-orgs-as-admins: True
-        white-list-target-branches: "main"
+        white-list-target-branches:
+        - 'main'
+        - 'release-23.1'
+        - 'release-24.0'
+        - 'release-24.1'
         status-context: "test-ironic-image-build"
         success-status: "Passed"
         failure-status: "Failed"
@@ -92,7 +95,7 @@
           url: "{ci_github_repo}"
           credentials-id: "{ci_github_jenkins_credentials_id}"
           branches:
-            - '{branch|main}'
+          - '{branch|main}'
           name: 'origin'
           refspec: '+refs/heads/*:refs/remotes/origin/*'
           wipe-workspace: True