We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119488b commit b503883Copy full SHA for b503883
Jenkinsfile
@@ -10,7 +10,14 @@ pipeline {
10
steps {
11
withPythonEnv(pythonInstallation: 'Windows-CPython-36') {
12
pybat(script: 'pip install .', returnStdout: true)
13
- pybat 'setup.py test --addopts --junit-xml=tests.xml'
+ pybat '''
14
+set BOOT2DOCKER_VM=default
15
+set PATH=%PATH%;"C:\Program Files\Docker Toolbox\"
16
+docker-machine start %BOOT2DOCKER_VM%
17
+REM Set the environment variables to use docker-machine and docker commands
18
+@FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd %BOOT2DOCKER_VM%') DO @%i
19
+setup.py test --addopts --junit-xml=tests.xml
20
+'''
21
}
22
23
@@ -23,4 +30,4 @@ pipeline {
30
24
31
25
32
26
-}
33
+}
0 commit comments