19 lines
414 B
Groovy
19 lines
414 B
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
echo 'Building..'
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
echo 'Testing..'
|
|
sh 'sh scripts/check_tesseract.sh'
|
|
sh 'ls -la /usr/share/tesseract-ocr/4.00/tessdata/'
|
|
sh 'python api/main.py -i api/img/biedra.jpg'
|
|
}
|
|
}
|
|
}
|
|
} |