Adjustment to instructions

This commit is contained in:
zontreck 2024-08-28 17:41:30 -07:00
parent f9e117387b
commit c3c3a8d542
2 changed files with 7 additions and 0 deletions

3
Jenkinsfile vendored
View file

@ -76,11 +76,14 @@ pipeline {
script { script {
bat 'flutter pub get' bat 'flutter pub get'
bat 'flutter build windows' bat 'flutter build windows'
bat 'mkdir out'
bat 'dart compile exe -o out\\server.exe bin\\server.dart'
} }
} }
post { post {
always { always {
archiveArtifacts artifacts: "out\\*.exe", fingerprint: true
deleteDir() deleteDir()
} }
} }

View file

@ -5,11 +5,15 @@ then
mkdir out mkdir out
fi fi
flutter pub get
if [[ -z "${DOCKER}" ]] if [[ -z "${DOCKER}" ]]
then then
flutter build linux flutter build linux
fi fi
dart compile exe -o out/server bin/server.dart dart compile exe -o out/server bin/server.dart
rsync -a --progress -h --delete build/linux/x64/release/bundle/ out/client/ rsync -a --progress -h --delete build/linux/x64/release/bundle/ out/client/