ci: stabilize Jenkins jobs and mobile pipeline
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- defaults:
|
||||
name: global
|
||||
project_folder: /workspace/hw8
|
||||
test_image_tag: "1.0.0"
|
||||
build_keep: 40
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- job:
|
||||
name: infra-health-check
|
||||
description: "Проверка инфраструктуры Jenkins/Registry/Agent образов."
|
||||
project-type: pipeline
|
||||
concurrent: false
|
||||
sandbox: true
|
||||
properties:
|
||||
- build-discarder:
|
||||
num-to-keep: 30
|
||||
dsl: !include-raw-verbatim: ../../jobs/scripts/infra-health-check.groovy
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
- job:
|
||||
name: jobs-uploader
|
||||
description: "Обновляет Jenkins jobs из JJB YAML (config/jobs)."
|
||||
project-type: pipeline
|
||||
concurrent: false
|
||||
sandbox: true
|
||||
properties:
|
||||
- build-discarder:
|
||||
num-to-keep: 30
|
||||
parameters:
|
||||
- string:
|
||||
name: JJB_PATH
|
||||
default: /workspace/hw8/config/jobs
|
||||
description: "Путь до JJB-конфигов"
|
||||
dsl: !include-raw-verbatim: ../../jobs/scripts/jobs-uploader.groovy
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
- view:
|
||||
name: DevOps
|
||||
view-type: list
|
||||
description: "Инфраструктурные job"
|
||||
filter-executors: true
|
||||
filter-queue: true
|
||||
job-name:
|
||||
- jobs-uploader
|
||||
- infra-health-check
|
||||
columns:
|
||||
- status
|
||||
- weather
|
||||
- job
|
||||
- last-success
|
||||
- last-failure
|
||||
- last-duration
|
||||
- build-button
|
||||
Reference in New Issue
Block a user