ci: stabilize Jenkins jobs and mobile pipeline
This commit is contained in:
@@ -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} jjb"
|
||||
currentBuild.description = "by=${env.RUN_TRIGGER_NAME}; jjbPath=${params.JJB_PATH}"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Validate Input') {
|
||||
steps {
|
||||
sh '''
|
||||
|
||||
Reference in New Issue
Block a user