Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-78458

Replace ad-hoc newStringJobParam in Jenkinsfiles with shared context

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • CNV QE DevOps
    • None
    • None

      Issue
      Jenkinsfiles inject hidden params via infraUtils.newStringJobParam (e.g., Velero/OADP versions, HCO image tag). This spreads ad-hoc context propagation across jobs.

      Steps to reproduce
      1. Review tier1/velero Jenkinsfile stage 'Add versions to hidden params'.
      2. Review verify-cnv-build Jenkinsfile stage 'Adding HCO Tag'.

      Expected result
      Job context is set via a shared, structured API or context artifact.

      Actual result
      Multiple Jenkinsfiles set hidden params via newStringJobParam without a shared model.

      Plan

      • Add a shared helper (or context API) to set job execution metadata.
      • For each Jenkinsfile, set context fields once (e.g., versions, tags).
      • Remove direct newStringJobParam calls and document the standard usage.

              dkeler@redhat.com Daniel Keler
              lbednar@redhat.com Lukas Bednar
              Daniel Keler Daniel Keler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: