Uploaded image for project: 'Validation'
  1. Validation
  2. VAL-103

GERRIT_REFSPEC job parameter is ignored

    XMLWordPrintable

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

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

      Attachments

        Activity

          People

            AlexandruAvadanii Alexandru Avadanii
            AlexandruAvadanii Alexandru Avadanii
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: