[VAL-103] GERRIT_REFSPEC job parameter is ignored Created: 10/Apr/20 Updated: 17/Apr/20 Resolved: 17/Apr/20 |
|
| Status: | Done |
| Project: | Validation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Medium |
| Reporter: | Alexandru Avadanii | Assignee: | Alexandru Avadanii |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
While investigating a similar issue for IEC project jobs, I found that certain jobs misconfigure the SCM jjb macros and ignore the GERRIT_REFSPEC parameter. The following files seem to be affected:
alav@buildserver:~/pike/yet/ci-management$ grep "refspec: ''" -R .
./jjb/akraino-templates/akraino-jjb-docker.yaml: refspec: ''
./jjb/akraino-templates/akraino-jjb-docker.yaml: refspec: ''
./jjb/akraino-templates/akraino-validation-templates.yaml: refspec: ''
./jjb/akraino-templates/akraino-validation-templates.yaml: refspec: ''
./jjb/akraino-templates/akraino-validation-templates.yaml: refspec: ''
./jjb/akraino-templates/akraino-validation-templates.yaml: refspec: ''
./jjb/akraino-templates/akraino-jjb-templates.yaml: refspec: ''
The fix should be similar to [1] (make sure that each job does have GERRIT_REFSPEC parameter defined - usually handled by including the lf-infra-parameters macro in the job parameters section): |
| Comments |
| Comment by Alexandru Avadanii [ 17/Apr/20 ] |
|
A slight rework of the SCM configuration for validation in ci-management has been merged and the issue at hand should be ameliorated. |