24 lines
403 B
Plaintext
24 lines
403 B
Plaintext
|
pipeline {
|
||
|
|
||
|
agent {
|
||
|
dockerfile {
|
||
|
filename 'Dockerfile.jenkins'
|
||
|
dir '.'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
options {
|
||
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
||
|
}
|
||
|
|
||
|
stages {
|
||
|
stage("Build") {
|
||
|
steps {
|
||
|
sh 'make'
|
||
|
archiveArtifacts artifacts: 'setup_*.exe'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|