Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
agent any
stages {
+ stage('Checkout') {
+ steps {
+ echo 'Checkout...'
+ checkout scm
+ }
+ }
stage('Build') {
steps {
- echo 'Building..'
+ echo 'Building...'
+ sh "docker build --no-cache -t test-son-emu-img ."
}
}
stage('Test') {
steps {
- echo 'Testing..'
+ echo 'Testing...'
+ sh "docker run --name son-emu --rm --privileged --pid='host' -w '/son-emu' -v /var/run/docker.sock:/var/run/docker.sock test-son-emu-img 'py.test -v src/emuvim/test/unittests'"
}
}
- stage('Deploy') {
+ stage('Package') {
steps {
- echo 'Deploying....'
+ echo 'Packaging (Docker-image)...'
}
}
}