Add Jenkinsfile

This commit is contained in:
retropikzel 2024-10-12 08:48:33 +03:00
parent 31e7d20175
commit b37347d8b9
1 changed files with 28 additions and 0 deletions

28
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,28 @@
pipeline {
agent {
dockerfile {
filename 'Dockerfile.jenkins'
dir '.'
args '-u root --privileged'
}
}
triggers {
cron("59 23 * * 1") // Build every monday
}
options {
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
}
stages {
stage("Build") {
steps {
sh 'make'
archiveArtifacts artifacts: 'setup_*.exe'
}
}
}
}