Files
hello-world/Jenkinsfile
T
john a791e4c15c
hello-world/pipeline/head This commit looks good
ai/code-review AI review reported findings
hello-world/pipeline/pr-master This commit looks good
Update
2026-05-03 09:41:47 +01:00

31 lines
651 B
Groovy

pipeline {
agent any
environment {
OPENAI_API_KEY = credentials('OPENAI_API_KEY')
GITEA_TOKEN = credentials('GITEA_TOKEN')
GITEA_URL = 'https://git.jb9.uk'
CODEX_MODEL = 'gpt-4'
AI_REVIEW_FAIL_ON_FINDINGS = 'false'
}
stages {
stage ('AI Code review') {
steps {
sh 'python3 scripts/ai_code_review.py'
}
}
stage('Configure') {
steps {
sh 'cmake -S . -B build'
}
}
stage('Build') {
steps {
sh 'cmake --build build'
}
}
}
}