From b394eb8e553588ea239d9a8a2be17889b8df66a9 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Wed, 22 Dec 2021 11:05:57 +1000 Subject: [PATCH] Hack for python binary in newer node images --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3161a254..a0f21e10 100644 --- a/Jenkinsfile +++ b/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 ...'