Add a build on windows stage

This commit is contained in:
zontreck 2025-03-23 13:12:06 -07:00
parent 47164c1b67
commit b25347a291

24
Jenkinsfile vendored
View file

@ -42,5 +42,29 @@ pipeline {
}
}
}
stage ("Build Windows") {
agent {
label 'windows'
}
steps {
script {
bat 'flutter pub get'
bat 'flutter build windows'
dir ("build/windows/x64/runner/release") {
bat 'tar -cvf ../../../../../windows.tgz .'
}
}
}
post {
success {
archiveArtifacts artifacts: "windows.tgz"
cleanWs()
}
}
}
}
}