From 2558430718b359b019ff0299036fab10bc57255f Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 21 Jul 2024 20:37:01 -0700 Subject: [PATCH] Fix windows paths --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8d15a0d..0dce509 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 } }