Document verified Chapter 4 Jenkins checks and remaining human evidence

This commit is contained in:
2026-10-21 19:34:16 -04:00
parent 1df4798a31
commit da0577e435
34 changed files with 1556 additions and 168 deletions
+12 -16
View File
@@ -1,30 +1,26 @@
pipeline {
agent any
agent { label 'controller-small-trusted' }
options {
skipDefaultCheckout()
disableConcurrentBuilds()
timeout(time: 5, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr: '20'))
}
stages {
stage('Checkout') {
steps {
checkout scm
sh 'git rev-parse HEAD && python3 --version'
}
}
stage('Lint') {
stage('Syntax check') {
steps {
sh '''
set -eu
test -f README.md
grep -qi "startup" README.md
'''
sh 'python3 -m py_compile pricing.py tests/test_pricing.py'
}
}
stage('Automated Test') {
stage('Unit tests') {
steps {
sh '''
set -eu
printf "CI smoke test for startup-product\\n"
find . -maxdepth 2 -type f | sort | head -20
'''
sh 'python3 -m unittest discover -s tests -v'
}
}
}