Fixing the build

This commit is contained in:
retropikzel 2024-10-12 07:51:35 +03:00
commit 02a71445a5
1 changed files with 10 additions and 1 deletions

11
Jenkinsfile vendored
View File

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