Details
-
Task
-
Resolution: Done
-
Medium
-
None
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):