Author SHA1 Message Date
codex-test 03b5d515ac ci: remove Jenkinsfile to test branch exclusion 2026-10-12 19:30:38 +00:00
codex-test 16f4ed80aa ci: select failure demo scenario 2026-10-12 19:30:33 +00:00
2 changed files with 1 additions and 34 deletions

No files matched your search

Vendored
-33
View File
@@ -1,33 +0,0 @@
pipeline {
agent any
options { timeout(time: 60, unit: 'SECONDS') }
stages {
stage('Checkout and identify change') {
steps {
checkout scm
echo "BRANCH_NAME=${env.BRANCH_NAME ?: ''}"
echo "CHANGE_ID=${env.CHANGE_ID ?: ''}"
echo "CHANGE_TARGET=${env.CHANGE_TARGET ?: ''}"
script {
def scenario = readFile('ci/scenario.txt').trim()
if (!(scenario in ['success', 'unstable', 'failure'])) {
error("Unsupported demo scenario: ${scenario}")
}
env.SCENARIO = scenario
}
}
}
stage('Build and report') {
steps {
script {
int status = sh(script: 'sh ci/demo-build.sh', returnStatus: true)
junit 'reports/*.xml'
if (status != 0) error("Demo build exited with status ${status}")
}
}
}
}
post {
always { archiveArtifacts artifacts: 'artifacts/*', allowEmptyArchive: true }
}
}
+1 -1
View File
@@ -1 +1 @@
success failure