25 lines
480 B
Groovy
25 lines
480 B
Groovy
pipeline {
|
|
|
|
agent {
|
|
dockerfile {
|
|
filename 'Dockerfile.jenkins'
|
|
dir '.'
|
|
args '--privileged -v /var/run/docker.sock:/var/run/docker.sock'
|
|
}
|
|
}
|
|
|
|
options {
|
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
|
}
|
|
|
|
stages {
|
|
stage("Build") {
|
|
steps {
|
|
sh 'make'
|
|
archiveArtifacts artifacts: 'setup_*.exe'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|