Template
22 lines
973 B
Plaintext
22 lines
973 B
Plaintext
Jenkinsfile with AI provisions
|
|
|
|
The Build Agent should provide the following environment (in alphabetical order):
|
|
- GITEA_AGENT in clear text cicd-builder
|
|
- GITEA_API_URL in clear text https://gitea.a.ucnit.eu/api/v1
|
|
- GITEA_API_KEY in clear text
|
|
- GIT_USER in clear text
|
|
- MAX_FILE_BYTES in clear text
|
|
- OLLAMA_API_KEY through credentials:secret text
|
|
- OLLAMA_API_URI in clear text https://agent:12tf56so@ollama-api.a.ucnit.eu/v1
|
|
- OLLAMA_MODEL in clear text
|
|
- REQUEST_TIMEOUT_SEC through credentials:secret text
|
|
- FILE_EXTS in clear text (cshtml,cs,js,json)
|
|
|
|
And the following settings
|
|
- Remote root directory ~/jenkins
|
|
- Labels builder
|
|
- Launch method Launch agents via ssh
|
|
- Host Key Verification Strategy Not verifying
|
|
\ No newline at end of file
|
|
|