Fix and test locally
This commit is contained in:
parent
51240ce309
commit
613b1449fd
@ -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
|
||||
|
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user