diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..722ba9b --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,31 @@ +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 + ''' + } + } + } +}