Fix windows paths

This commit is contained in:
zontreck 2024-07-21 20:37:01 -07:00
parent 560c5cf918
commit 2558430718

12
Jenkinsfile vendored
View file

@ -45,21 +45,21 @@ pipeline {
}
steps {
script {
bat 'del out/.placeholder'
bat 'del out\\.placeholder'
bat 'flutter pub get'
bat 'flutter build windows'
bat 'dart compile exe -o out/snbt2nbt.exe bin/snbt2nbt.dart'
bat 'dart compile exe -o out/nbt2snbt.exe bin/nbt2snbt.dart'
bat 'dart compile exe -o out\\snbt2nbt.exe bin\\snbt2nbt.dart'
bat 'dart compile exe -o out\\nbt2snbt.exe bin\\nbt2snbt.dart'
dir("build/windows/x64/runner/Release") {
bat 'tar -cvf ../../../../../windows.tgz .'
dir("build\\windows\\x64\\runner\\Release") {
bat 'tar -cvf ..\\..\\..\\..\\..\\windows.tgz .'
}
}
}
post {
always {
archiveArtifacts artifacts: 'out/*', fingerprint: true
archiveArtifacts artifacts: 'out\\*', fingerprint: true
archiveArtifacts artifacts: '*.tgz', fingerprint: true
}
}