summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.jenkins/pytorch/win-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.jenkins/pytorch/win-test.sh b/.jenkins/pytorch/win-test.sh
index ba1a4c9ae6..2a6b647263 100755
--- a/.jenkins/pytorch/win-test.sh
+++ b/.jenkins/pytorch/win-test.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
COMPACT_JOB_NAME=pytorch-win-ws2016-cuda9-cudnn7-py3-test
source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
@@ -75,7 +75,7 @@ set PYTHONPATH=%TMP_DIR_WIN%\\build;%PYTHONPATH%
if NOT "%BUILD_ENVIRONMENT%"=="" (
cd %TMP_DIR_WIN%\\build
python %TMP_DIR_WIN%\\ci_scripts\\download_image.py %TMP_DIR_WIN%\\%IMAGE_COMMIT_TAG%.7z
- :: 7z: `-aos` skips if exists because this .bat can be called multiple times
+ :: 7z: -aos skips if exists because this .bat can be called multiple times
7z x %TMP_DIR_WIN%\\%IMAGE_COMMIT_TAG%.7z -aos
cd %WORKING_DIR%
) else (