Fix: Add lf-infra-publish to all jobs
[ci-management.git] / jjb / akraino-templates / akraino-jjb-docker.yaml
index 6c6afa5..8e068d5 100644 (file)
@@ -16,7 +16,7 @@
 #
 - job-template:
     id: 'akraino-project-stream-docker'
-    name: '{project}-{stream}-docker'
+    name: '{project-name}-{stream}-docker'
     project-type: freestyle
     node: '{build-node}'
 
       - lf-infra-gerrit-scm:
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
           git-url: '{git-url}/{project}.git'
-          refspec: ''
-          branch: '{branch}'
+          refspec: '$GERRIT_REFSPEC'
+          branch: '$GERRIT_BRANCH'
           submodule-recursive: '{submodule-recursive}'
           submodule-timeout: '{submodule-timeout}'
+          submodule-disable: false
           choosing-strategy: default
 
     builders:
           - ../shell/build-docker.sh
 
     triggers:
-      - timed: '@hourly'
+      - timed: '@daily'
+
+    publishers:
+      - lf-infra-publish
 
 - job-template:
     id: 'akraino-project-stream-stage-docker'
-    name: '{project}-{stream}-stage-docker'
+    name: '{project-name}-{stream}-stage-docker'
     project-type: freestyle
     node: '{build-node}'
 
       - lf-infra-gerrit-scm:
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
           git-url: '{git-url}/{project}.git'
-          refspec: ''
-          branch: '{branch}'
+          refspec: '$GERRIT_REFSPEC'
+          branch: '$GERRIT_BRANCH'
           submodule-recursive: '{submodule-recursive}'
           submodule-timeout: '{submodule-timeout}'
+          submodule-disable: false
           choosing-strategy: default
 
     builders:
           jobs:
             - '{project}-maven-stage-{stream}'
             - 'yaml_builds-{stream}-stage-config'
+
+    publishers:
+      - lf-infra-publish