32 lines
772 B
Groovy
32 lines
772 B
Groovy
pipeline {
|
|
agent { label 'jjb' }
|
|
options {
|
|
timestamps()
|
|
ansiColor('xterm')
|
|
}
|
|
stages {
|
|
stage('Check Docker & Registry') {
|
|
steps {
|
|
sh '''
|
|
set -eux
|
|
docker version
|
|
curl -fsS http://registry:5000/v2/_catalog
|
|
docker pull localhost:5005/otus/test-selenium:1.0.0
|
|
docker pull localhost:5005/otus/test-api:1.0.0
|
|
docker pull localhost:5005/otus/test-mobile:1.0.0
|
|
'''
|
|
}
|
|
}
|
|
stage('Check Sources') {
|
|
steps {
|
|
sh '''
|
|
set -eux
|
|
test -f /workspace/otus-autotests/homework_4/pom.xml
|
|
test -f /workspace/otus-autotests/hw7/pom.xml
|
|
test -f /workspace/otus-autotests/hw8/config/jobs/global.yaml
|
|
'''
|
|
}
|
|
}
|
|
}
|
|
}
|