Fetch builds from Jenkins API

This commit is contained in:
jose-rZM
2025-12-16 08:41:28 +01:00
parent 2948743625
commit bea6b2aaef
2 changed files with 51 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ class RuntimeConfig:
git_commit: str = os.getenv("GIT_COMMIT", "local")
build_number: str = os.getenv("BUILD_NUMBER", "-")
commit_author: str = os.getenv("COMMIT_AUTHOR", "local")
jenkins_base_url: str = os.getenv("JENKINS_BASE_URL", "localhost:8080")
jenkins_job_name: str = os.getenv("JENKINS_JOB_NAME", "")
jenkins_user: str = os.getenv("JENKINS_USER", "")
jenkins_token: str = os.getenv("JENKINS_TOKEN", "")
settings = RuntimeConfig()