Skip to content

Commit e87e11e

Browse files
committed
[Build] Simplify build-script in pipeline for windows native binaries
This reduces the prerequisites for a Jenkins executor to run that part of the build pipeline.
1 parent 78943aa commit e87e11e

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Jenkinsfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,10 @@ pipeline {
223223
ls -1R libs
224224
'''
225225
} else {
226-
withEnv(['PATH=C:\\tools\\cygwin\\bin;' + env.PATH]) {
227-
bat '''
228-
mkdir libs
229-
cmd /c build.bat install
230-
ls -1R libs
231-
'''
232-
}
226+
bat '''
227+
mkdir libs
228+
cmd /c build.bat install
229+
'''
233230
}
234231
}
235232
dir('libs') {

0 commit comments

Comments
 (0)