Files
hello-world/Jenkinsfile
T
john b504842293
ai/code-review No issues found
hello-world/pipeline/head This commit looks good
Switching to x.ai for reviews
2026-05-03 21:22:07 +01:00

31 lines
646 B
Groovy

pipeline {
agent any
environment {
XAI_API_KEY = credentials('XAI_API_KEY')
GITEA_TOKEN = credentials('GITEA_TOKEN')
GITEA_URL = 'https://git.jb9.uk'
XAI_MODEL = 'grok-4.3'
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'
}
}
}
}