27 lines
534 B
Groovy
27 lines
534 B
Groovy
pipeline {
|
|
|
|
agent {
|
|
dockerfile {
|
|
filename 'Dockerfile.jenkins'
|
|
dir '.'
|
|
}
|
|
}
|
|
|
|
options {
|
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
|
}
|
|
|
|
stages {
|
|
stage("Build") {
|
|
steps {
|
|
sh 'mkdir /.wine'
|
|
sh 'wine winecfg'
|
|
sh 'wine ./executables/nsis-3.10-setup.exe /S'
|
|
sh 'make'
|
|
archiveArtifacts artifacts: 'setup_*.exe'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|