Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0eee02470 | ||
|
|
ff266cf33c |
Vendored
+31
@@ -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
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user