Add ironic-image release branches in relevant tests

Signed-off-by: Kashif Khan <kashif.khan@est.tech>
Change-Id: Ibd59c01c1572099e9d28adc95802fbf4ef6064fb
Signed-off-by: Kashif Khan <kashif.khan@est.tech>
diff --git a/jjb/metal3/job_ironic_image_build_test.yml b/jjb/metal3/job_ironic_image_build_test.yml
index 8b9412f..5ccd5e2 100644
--- a/jjb/metal3/job_ironic_image_build_test.yml
+++ b/jjb/metal3/job_ironic_image_build_test.yml
@@ -1,4 +1,3 @@
----
 #
 # ============LICENSE_START=======================================================
 #  Copyright (C) 2019 Nordix Foundation.
@@ -70,7 +69,7 @@
     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: '.*?/test-ironic-image-build.*?'
@@ -81,9 +80,10 @@
         auto-close-on-fail: False
         allow-whitelist-orgs-as-admins: True
         white-list-target-branches:
-          - 'main'
-          - 'release-23.1'
-          - 'release-24.0'
+        - 'main'
+        - 'release-23.1'
+        - 'release-24.0'
+        - 'release-24.1'
         status-context: "test-ironic-image-build"
         success-status: "Passed"
         failure-status: "Failed"
@@ -95,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
diff --git a/jjb/metal3/projects.yml b/jjb/metal3/projects.yml
index c3993d0..1aba0ef 100644
--- a/jjb/metal3/projects.yml
+++ b/jjb/metal3/projects.yml
@@ -78,6 +78,11 @@
         name_postfix: '_ironic_from_source'
         trigger_postfix: '-ironic-source'
         ironic_install_type: 'source'
+        target_branches:
+        - 'main'
+        - 'release-23.1'
+        - 'release-24.0'
+        - 'release-24.1'
     - ironic_image:
         repo: ironic-image
     - ironic_ipa_downloader: