add retries

This commit is contained in:
“xHuPo” 2025-05-21 16:41:23 +08:00
parent aaad8b143f
commit e7fa1e7bd7
2 changed files with 6 additions and 4 deletions

View file

@ -23,6 +23,7 @@ type Config struct {
Gradle Gradle
Jenkins Jenkins
Jobs []string `mapstructure:"jobs"`
Retries int `mapstructure:"retries"`
}
func LoadConfig(path string) (*Config, error) {