Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-5159

Modules packaging steps fail due to semantic version failing to recognise module version

    Details

    • Type: CI Blocker
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iis, powershell, registry, sqlserver
    • Labels:
      None
    • QA Risk Assessment:
      Needs Assessment

      Description

      Jenkins CI steps are failing on the packaging step with an error similar to

      14:52:13 
      14:52:13 + '[' true '!=' false ']'
      14:52:13 + rm -f Gemfile.lock
      14:52:13 + bundle exec rake module:bump:full
      14:52:14 Bumping version from 2.1.0 to 2.1.0-0016-13fae4a9
      14:52:14 + bundle exec rake module:push
      14:52:16 rake aborted!
      14:52:16 ArgumentError: Invalid 'version' field in metadata.json: version string cannot be parsed as a valid Semantic Version
      14:52:16 /tmp/jenkins/workspace/forge-windows_puppetlabs-powershell_package-module_master/.bundle/gems/gems/puppet-5.0.0/lib/puppet/module_tool/metadata.rb:194:in `validate_version'
      14:52:16 /tmp/jenkins/workspace/forge-windows_puppetlabs-powershell_package-module_master/.bundle/gems/gems/puppet-5.0.0/lib/puppet/module_tool/metadata.rb:130:in `process_version'
      14:52:16 /tmp/jenkins/workspace/forge-windows_puppetlabs-powershell_package-module_master/.bundle/gems/gems/puppet-5.0.0/lib/puppet/module_tool/metadata.rb:54:in `update'
      14:52:16 /tmp/jenkins/workspace/forge-windows_puppetlabs-powershell_package-module_master/.bundle/gems/gems/puppet-5.0.0/lib/puppet/module_tool/applications/application.rb:51:in `block in metadata'
      

      Issue was raised on the semantic_puppet repo
      https://github.com/puppetlabs/semantic_puppet/issues/25

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                glenn.sarti Glenn Sarti
                Reporter:
                glenn.sarti Glenn Sarti
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support