Use bat not sh for windows builds on Jenkins

This was causing an issue where the windows workspaces could not be cleared.
This commit is contained in:
Brennan Magee
2023-05-30 17:08:32 +01:00
committed by GitHub
parent 131dd252c0
commit 17944ad908

4
Jenkinsfile vendored
View File

@@ -153,8 +153,8 @@ pipeline {
withVS() {
bat 'msbuild host_usb_mixer_control.vcxproj /property:Configuration=Release /property:Platform=x64'
}
sh 'mkdir Win/x64'
sh 'mv bin/Release/x64/host_usb_mixer_control.exe Win/x64/xmos_mixer.exe'
bat 'mkdir Win\\x64'
bat 'mv bin/Release/x64/host_usb_mixer_control.exe Win/x64/xmos_mixer.exe'
archiveArtifacts artifacts: "Win/x64/xmos_mixer.exe", fingerprint: true
}
}