FBLA24/fbla-api/Jenkinsfile
2024-06-06 15:44:28 -05:00

20 lines
333 B
Groovy

pipeline {
agent any
stages {
stage('Start API') {
steps {
sh '''docker image prune -f
docker build --no-cache -t fbla-api .
docker-compose down
docker-compose up -d'''
}
}
stage('Run Tests') {
steps {
sh '''dart pub install
dart run ./test/fbla_api_test.dart'''
}
}
}
}