snow-fort-windows-installer/Jenkinsfile

29 lines
560 B
Groovy

pipeline {
agent {
label 'agent2'
}
options {
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
}
stages {
stage("Build") {
agent {
dockerfile {
filename 'Dockerfile.jenkins'
dir '.'
}
}
steps {
sh 'whoami'
sh 'WINEPREFIX=${HOME}/.wine wine ./executables/nsis-3.10-setup.exe /S'
sh 'make'
archiveArtifacts artifacts: 'setup_*.exe'
}
}
}
}