Преглед изворни кода

Hack for python binary in newer node images

Jamie Curnow пре 4 година
родитељ
комит
b394eb8e55
1 измењених фајлова са 1 додато и 1 уклоњено
  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 ...'