BuyAndKnow/Jenkinsfile

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'
}
}
}
}