change Jenkinsfile

This commit is contained in:
Stanislaw-Golebiewski 2019-11-25 14:13:34 +01:00
parent 28673e918c
commit 4cab54b3f9
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ RUN pip3 install pipenv_to_requirements gunicorn && \
pipenv run pipenv_to_requirements && \ pipenv run pipenv_to_requirements && \
pip3 install --no-cache -r requirements.txt pip3 install --no-cache -r requirements.txt
WORKDIR /install/api

3
Jenkinsfile vendored
View File

@ -5,7 +5,8 @@ pipeline {
stage('Build') { stage('Build') {
steps { steps {
sh 'ls' sh 'ls'
sh 'python api/main.py -i api/img/biedra.jpg' sh 'ls /usr/share/tesseract-ocr/4.00/tessdata/'
sh 'python main.py -i img/biedra.jpg'
} }
} }
stage('Test') { stage('Test') {