Grocker
Grocker
我用这个参数最高跑了1509
``` PromotionType string `json:"promotion_type" binding:"required,oneof= a b c"` ApplicablePhase []ApplicablePhaseItem `json:"applicable_phase" binding:"required_if=PromotionType a,dive,len=4"` ``` @deankarn In this example, len tag not working when required_if meets condition
看了美团这个还是有点懵,https://tech.meituan.com/2018/03/20/user-funnel-analysis-design-build.html
> Actually, there is no way to get the CURRENT build number. Instead we could get the last build number. Do you mean that after I create a job using...
Thank you, is there any way I can customize the job number? this is my code: ``` func BuildJobWithParams(params []job.ParameterDefinition) (result bool, err error) { jenkins, err := GetJenkinsCore() if...
> As far as I know, the job build number can only be generated by Jenkins itself. If it cannot be customized, then I can only add a unique identifier...
hello, @LinuxSuRen ``` func BuildJobWithParams(params []job.ParameterDefinition) (build *job.Build, err error) { jenkins, err := GetJenkinsCore() if err != nil { return nil, err } jobClient := job.Client{JenkinsCore: jenkins} err =...
> It might be a bug if you only triggered the job build once. Yes, I checked to make sure it was only executed once