Add Update Job stage

This commit is contained in:
2025-07-20 18:04:47 +03:00
parent e2842db808
commit 56e001e2a8

14
Jenkinsfile vendored
View File

@@ -17,8 +17,22 @@ pipeline {
string(name: "rproxy_service_name", defaultValue: "", trim: true, description: "Service name (for 'Add config' job only)") string(name: "rproxy_service_name", defaultValue: "", trim: true, description: "Service name (for 'Add config' job only)")
string(name: "rproxy_service_port", defaultValue: "", trim: true, description: "Service port (for 'Add config' job only)") string(name: "rproxy_service_port", defaultValue: "", trim: true, description: "Service port (for 'Add config' job only)")
string(name: "rproxy_service_address", defaultValue: "", trim: true, description: "Service address (for 'Add config' job only)") string(name: "rproxy_service_address", defaultValue: "", trim: true, description: "Service address (for 'Add config' job only)")
booleanParam(name: 'update_job', defaultValue: false, description: 'Update job, free run, no changes')
} }
stages { stages {
stage('Update Job') {
when {
expression {
return params.update_job
}
}
steps {
script {
currentBuild.getRawBuild().getExecutor().interrupt(Result.SUCCESS)
sleep(1)
}
}
}
stage('Save certs') { stage('Save certs') {
when { when {
expression { expression {