automated terminal push
This commit is contained in:
27
Jenkinsfile
vendored
27
Jenkinsfile
vendored
@@ -6,7 +6,7 @@ pipeline {
|
||||
|
||||
disableConcurrentBuilds(abortPrevious: true)
|
||||
|
||||
buildDiscarder(logRotator(numToKeepStr: '1'))
|
||||
buildDiscarder(logRotator(numToKeepStr: '10'))
|
||||
}
|
||||
|
||||
stages {
|
||||
@@ -15,7 +15,7 @@ pipeline {
|
||||
|
||||
agent {
|
||||
|
||||
label "aventador"
|
||||
label "sian"
|
||||
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ pipeline {
|
||||
|
||||
agent {
|
||||
|
||||
label "aventador"
|
||||
label "sian"
|
||||
|
||||
}
|
||||
|
||||
@@ -51,25 +51,4 @@ pipeline {
|
||||
|
||||
}
|
||||
|
||||
stage('prune') {
|
||||
|
||||
agent {
|
||||
|
||||
label "aventador"
|
||||
|
||||
}
|
||||
|
||||
steps {
|
||||
|
||||
dir('.') {
|
||||
|
||||
sh 'docker system prune -a -f'
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user