From 613b1449fd87da3aa944ca636c29c5b126d80199 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Mon, 29 Nov 2021 12:37:14 +0100 Subject: [PATCH] Fix and test locally --- Dockerfile | 4 ++-- Jenkinsfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ff4088..3399d5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,6 @@ USER root RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && bsdtar -C / -xvf "$patched_glibc" -RUN pacman -Syu --noconfirm && pacman --noconfirm -S python-cookiecutter git && pacman --noconfirm -Scc +RUN pacman -Syu --noconfirm && pacman --noconfirm -S python-cookiecutter biber git python-pip python-yaml unzip wget && pacman --noconfirm -Scc -RUN mkdir -p /.cookiecutters +RUN pip install arxiv_latex_cleaner syntok diff --git a/Jenkinsfile b/Jenkinsfile index c214558..f033a9a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ pipeline { def customImage = docker.build("paper-cutter:${env.BUILD_ID}") customImage.inside() { dir('test') { - sh 'export fakehomedir=`pwd`/fakehome; mkdir $fakehomedir; HOME=$fakehomedir bash run_tests.sh' + sh 'export PATH="$PATH:/usr/bin/vendor_perl"; export fakehomedir=`pwd`/fakehome; mkdir $fakehomedir; HOME=$fakehomedir bash run_tests.sh' } } }