diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..bb45d90 --- /dev/null +++ b/Jenkinsfile @@ -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' + } + } + + } +} \ No newline at end of file