Uploaded image for project: 'Build'
  1. Build
  2. BUILD-1213

When using a feature branch versioning, Docker Selenium version isn't resolved

    XMLWordPrintable

Details

    • Task
    • Resolution: Resolved
    • Neutral
    • None
    • None
    • None
    • Yes

    Description

      This affects both the moduleUiTestsPipeline and the integrationTestsPipeline. When a build runs those pipelines and uses a feature branch name, the 'Build Docker Image' will attempt to resolve a Selenium version. However, the code doing this:

      def seleniumVersionVariable = new Configuration(currentBuild.fullProjectName, readMavenPom().version, libraryResource('info/magnolia/testFramework-versions.json'), libraryResource('info/magnolia/pipeline-configurations.json')).retrieveFlag("seleniumVersionVariable") 

      Will fail because Configuration expects versions to be +/- valid SemVer versions.

      In such cases we need to map the feature branch version to the equivalent canonical version so that the pipeline can carry on. See the linked PR.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                hpola Harshini Pola
                mmichel Maxime Michel
                Foundation
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Task DoR