BuyAndKnow/Jenkinsfile
2019-12-08 23:00:18 +01:00

19 lines
446 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 'python bk_api/ocr_module/main.py -i bk_api/ocr_module/img/biedra.jpg'
}
}
}
}