diff --git a/Jenkinsfile b/Jenkinsfile index dd463a6..5349eb2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,6 +8,10 @@ pipeline { } } + triggers { + cron("59 23 * * 1") // Build every monday + } + options { buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) } @@ -15,11 +19,16 @@ pipeline { stages { stage("Build") { steps { - sh 'whoami' + sh 'make clean' sh 'make' archiveArtifacts artifacts: 'setup_*.exe' } } } + post { + always { + deleteDir() + } + } }