26 lines
471 B
Groovy
26 lines
471 B
Groovy
pipeline {
|
|
|
|
agent {
|
|
dockerfile {
|
|
filename 'Dockerfile.jenkins'
|
|
dir '.'
|
|
args '-u root --privileged'
|
|
}
|
|
}
|
|
|
|
options {
|
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
|
}
|
|
|
|
stages {
|
|
stage("Build") {
|
|
steps {
|
|
sh 'whoami'
|
|
sh 'make'
|
|
archiveArtifacts artifacts: 'setup_*.exe'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|