-
Task
-
Resolution: Obsolete
-
Major
-
2.10.0.GA
-
False
-
False
-
Undefined
-
As a continuation of CRW-1621, we should move global variables hardcoded in the CRW_CI *.groovy jobs into https://gitlab.cee.redhat.com/codeready-workspaces/crw-jenkins/-/blob/master/src/com/redhat/codeready/cci/GlobalConstants.groovy
So that we can then use them like this:
libraries { lib('TestUtil') } import com.redhat.codeready.cci.GlobalConstants GlobalConstants.Crwctl.LATEST_QUAY_URL GlobalConstants.Crw.LATEST_CRW_MAJOR_VERSION
This will make the .groovy scripts even more generic, and provide a way to see the mappings between:
- 2.10 -> 7.32.x, 0.6.x, v3.4.x, main
- 2.11 -> 7.34.x, 0.8.x, v3.4.x, main
- ...
See also https://www.jenkins.io/doc/book/pipeline/shared-libraries/#directory-structure
- relates to
-
CRW-1621 migrate to template job + sync.sh
- Closed