Files
devops-it-manual/ops/jenkins/Jenkinsfile

32 lines
490 B
Groovy

pipeline {
agent any
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Lint') {
steps {
sh '''
set -eu
test -f README.md
grep -qi "startup" README.md
'''
}
}
stage('Automated Test') {
steps {
sh '''
set -eu
printf "CI smoke test for startup-product\\n"
find . -maxdepth 2 -type f | sort | head -20
'''
}
}
}
}