Sfoglia il codice sorgente

Hack for python binary in newer node images

Jamie Curnow 4 anni fa
parent
commit
b394eb8e55
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -68,7 +68,7 @@ pipeline {
 					-v "$(pwd)/global:/app/global" \\
 					-w /app \\
 					node:latest \\
-					sh -c "yarn install && yarn eslint . && rm -rf node_modules"
+					sh -c "ln -s /usr/bin/python3 /usr/bin/python && yarn install && yarn eslint . && rm -rf node_modules"
 				'''
 
 				echo 'Docker Build ...'