added options block
This commit is contained in:
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@@ -1,5 +1,13 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
options {
|
||||||
|
buildDiscarder logRotator (
|
||||||
|
numToKeepStr: '5',
|
||||||
|
daysToKeepStr: '7',
|
||||||
|
artifactNumToKeepStr: '10',
|
||||||
|
artifactDaysToKeepStr: '7'
|
||||||
|
)
|
||||||
|
}
|
||||||
parameters {
|
parameters {
|
||||||
string(name: "target_host", defaultValue: "", trim: true, description: "Target host")
|
string(name: "target_host", defaultValue: "", trim: true, description: "Target host")
|
||||||
booleanParam(name: "rproxy_install", defaultValue: true, description: "Install Rproxy")
|
booleanParam(name: "rproxy_install", defaultValue: true, description: "Install Rproxy")
|
||||||
@@ -9,7 +17,6 @@ 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)")
|
||||||
|
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Save certs') {
|
stage('Save certs') {
|
||||||
|
|||||||
Reference in New Issue
Block a user