2024-10-11 03:48:47 -04:00
|
|
|
pipeline {
|
|
|
|
|
|
|
|
agent {
|
2024-10-12 00:37:05 -04:00
|
|
|
dockerfile {
|
|
|
|
filename 'Dockerfile.jenkins'
|
|
|
|
dir '.'
|
2024-10-12 00:38:05 -04:00
|
|
|
args '-u root --privileged'
|
2024-10-12 00:37:05 -04:00
|
|
|
}
|
2024-10-11 03:48:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
options {
|
|
|
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
|
|
|
}
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage("Build") {
|
|
|
|
steps {
|
2024-10-12 00:33:40 -04:00
|
|
|
sh 'whoami'
|
2024-10-12 00:32:52 -04:00
|
|
|
sh 'WINEPREFIX=${HOME}/.wine wine ./executables/nsis-3.10-setup.exe /S'
|
2024-10-11 03:48:47 -04:00
|
|
|
sh 'make'
|
|
|
|
archiveArtifacts artifacts: 'setup_*.exe'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|