[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):

[1] https://gerrit.akraino.org/r/c/ci-management/+/3342/7..8/jjb/akraino-templates/akraino-iec-templates.yaml



 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.

Generated at Sat Feb 10 06:07:20 UTC 2024 using Jira 9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1.