Fix metal3 container image job triggers
Change-Id: I5db7a87c24ef8147bd82440540b1cc528a98ee22
diff --git a/jjb/metal3/job_container_image_building.yaml b/jjb/metal3/job_container_image_building.yaml
index 96468fb..9ab8cfc 100644
--- a/jjb/metal3/job_container_image_building.yaml
+++ b/jjb/metal3/job_container_image_building.yaml
@@ -44,18 +44,8 @@
num-to-keep: 300
artifact-days-to-keep: -1
artifact-num-to-keep: -1
-
- scm:
- - git:
- url: "{repo}"
- credentials-id: "{ci_github_jenkins_credentials_id}"
- name: 'origin'
- refspec: '+refs/heads/*:refs/remotes/origin/*'
- wipe-workspace: True
- honor-refspec: True
- shallow-clone: False
- included-regions:
- - '${dockerfile_location}'
+ - github:
+ url: '{repo}'
triggers:
- github
diff --git a/jjb/metal3/projects.yml b/jjb/metal3/projects.yml
index 3f1acdd..5a867d6 100644
--- a/jjb/metal3/projects.yml
+++ b/jjb/metal3/projects.yml
@@ -708,6 +708,8 @@
- vbmc:
repo: https://github.com/metal3-io/ironic-image.git
dockerfile_location: /resources/vbmc/
+ jobs:
+ - container_image_building
ci_github_jenkins_credentials_id: 'nordix-metal3-ci-github-prod-token'
ci_ghprb_auth_id: 'e8a43847-46ff-42db-a5db-7366df0e4ee2'
ci_github_repo: 'https://github.com/Nordix/metal3-dev-tools.git'