| #!/usr/bin/env groovy |
| |
| def boardName = "enterprise" |
| def packages = [ |
| [packageName: 'imx-atf', script: 'imx_atf'], |
| [packageName: 'imx-firmware', script: 'imx_firmware'], |
| [packageName: 'imx-mkimage', script: 'imx_mkimage'], |
| [packageName: 'uboot-imx', script: 'uboot_imx'], |
| [packageName: 'wayland-protocols-imx', script: 'wayland_protocols_imx'], |
| [packageName: 'weston-imx', script: 'weston_imx'], |
| [packageName: 'linux-imx', script: 'linux_imx'], |
| [packageName: 'libdrm-imx', script: 'libdrm_imx'], |
| [packageName: 'imx-vpu-hantro', script: 'imx_vpu_hantro'], |
| [packageName: 'imx-vpuwrap', script: 'imx_vpuwrap'], |
| [packageName: 'imx-gstreamer', script: 'imx_gstreamer'], |
| [packageName: 'imx-gst-plugins-base', script: 'imx_gst_plugins_base'], |
| [packageName: 'imx-gst-plugins-good', script: 'imx_gst_plugins_good'], |
| [packageName: 'imx-gst-plugins-bad', script: 'imx_gst_plugins_bad'], |
| [packageName: 'imx-gst1.0-plugin', script: 'imx_gst1.0_plugin'], |
| [packageName: 'imx-board-tools', script: 'imx_board_tools'], |
| [packageName: 'imx-board-audio', script: 'imx_board_audio'], |
| [packageName: 'imx-board-wlan', script: 'imx_board_wlan'], |
| [packageName: 'bluez-imx', script: 'bluez_imx'], |
| [packageName: 'meta-enterprise', script: 'meta_enterprise'], |
| ] |
| |
| packages.each { |
| def packageName = it.packageName |
| def script = it.script |
| |
| pipelineJob("${boardName}.${packageName}") { |
| definition { |
| cpsScm { |
| scm { |
| git { |
| remote { |
| url('https://coral.googlesource.com/gke-jenkins') |
| } |
| branches('*/master') |
| } |
| } |
| |
| scriptPath("cicd/pipelines/${boardName}/${script}.jenkins") |
| } |
| } |
| } |
| } |