BuyAndKnow/Jenkinsfile
Stanislaw-Golebiewski 536275266b Jenkinsfile tessdata
2019-12-08 23:10:57 +01:00

20 lines
501 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Build') {
steps {
echo 'Building..'
}
}
stage('Test') {
steps {
echo '> Test tesseract installation...'
sh 'sh scripts/check_tesseract.sh'
echo '> Test OCR api module...'
sh 'ls /usr/share/tesseract-ocr/4.00/tessdata'
sh 'python bk_api/ocr_module/main.py -i bk_api/ocr_module/img/biedra.jpg'
}
}
}
}