diff --git a/Jenkinsfile b/Jenkinsfile index 51d3218..d54bb3f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,16 @@ pipeline { - agent any + agent { + node { + label 'buildserver' + } + } + + options { + buildDiscarder logRotator( + daysToKeepStr: '1', + numToKeepStr: '3' + ) + } stages { stage('Build') {