ci: stabilize Jenkins jobs and mobile pipeline

This commit is contained in:
2026-04-22 11:27:23 +03:00
parent caf057d712
commit 737bddd631
23 changed files with 762 additions and 66 deletions
+15 -4
View File
@@ -5,6 +5,18 @@ pipeline {
ansiColor('xterm')
}
stages {
stage('Prepare Metadata') {
steps {
script {
wrap([$class: 'BuildUser']) {
env.RUN_TRIGGER_USER = env.BUILD_USER_ID ?: env.BUILD_USER ?: 'system'
env.RUN_TRIGGER_NAME = env.BUILD_USER ?: env.BUILD_USER_ID ?: 'system'
}
currentBuild.displayName = "#${env.BUILD_NUMBER} infra"
currentBuild.description = "by=${env.RUN_TRIGGER_NAME}"
}
}
}
stage('Check Docker & Registry') {
steps {
sh '''
@@ -17,13 +29,12 @@ pipeline {
'''
}
}
stage('Check Sources') {
stage('Check Job Configs') {
steps {
sh '''
set -eux
test -f /workspace/otus-autotests/homework_4/pom.xml
test -f /workspace/otus-autotests/hw7/pom.xml
test -f /workspace/otus-autotests/hw8/config/jobs/global.yaml
HW8_ROOT_PATH="${HW8_ROOT:-/workspace/hw8}"
test -f "${HW8_ROOT_PATH}/config/jobs/global.yaml"
'''
}
}