Răsfoiți Sursa

Hack for python binary in newer node images

Jamie Curnow 4 ani în urmă
părinte
comite
b394eb8e55
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 ...'