fix: simplify Jenkins configuration to avoid build issues

This commit is contained in:
Nicolas 2025-08-05 18:39:02 +08:00
parent d0ebd8d05e
commit 6ba288105c

View File

@ -3,7 +3,7 @@ library 'first-class-pipeline'
executeFreeleapsPipeline { executeFreeleapsPipeline {
serviceName = 'freeleaps-data-backup' serviceName = 'freeleaps-data-backup'
environmentSlug = 'prod' environmentSlug = 'prod'
serviceGitBranch = 'main' serviceGitBranch = 'master'
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops.git" serviceGitRepo = "https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops.git"
serviceGitRepoType = 'monorepo' serviceGitRepoType = 'monorepo'
serviceGitCredentialsId = 'freeleaps-repos-gitea-credentails' serviceGitCredentialsId = 'freeleaps-repos-gitea-credentails'
@ -16,7 +16,7 @@ executeFreeleapsPipeline {
language: 'python', language: 'python',
dependenciesManager: 'pip', dependenciesManager: 'pip',
requirementsFile: 'requirements.txt', requirementsFile: 'requirements.txt',
buildCacheEnabled: true, buildCacheEnabled: false,
buildAgentImage: 'python:3.11-slim', buildAgentImage: 'python:3.11-slim',
buildArtifacts: ['.'], buildArtifacts: ['.'],
lintEnabled: false, lintEnabled: false,