This commit is contained in:
Vendored
+20
@@ -0,0 +1,20 @@
|
|||||||
|
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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user