Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3240

Ensure only one version is retrieved

    XMLWordPrintable

    Details

      Description

      Errors like:

      05:23:15  JIRA: Site - JIRA-PROD - Search JQL: project = NXP and affectedVersion = 10.10  and fixVersion = 10.10-HF23 and summary ~  "Upgrade Tomcat to 9.0.30
      05:23:15  9.0.31" startAt: 0 maxResults: 1000
      05:23:15  Successful. Code: 200
      05:23:15  [Pipeline] jiraNewIssue
      05:23:15  JIRA: Site - JIRA-PROD - Creating new issue: IssueInput(update=null, fields={project={key=NXP}, summary=Upgrade Tomcat to 9.0.30
      05:23:15  9.0.31, description=Upgrade Tomcat to 9.0.30
      05:23:15  9.0.31, priority={name=Blocker}, components=[{name=Distribution / Installers}], versions=[{name=10.10}], fixVersions=[{name=10.10-HF23}], customfield_10080=[noRNS, nxsupport, security], issuetype={name=Task}})
      05:23:15  Error Code: 400
      05:23:15  Error Message: {"errorMessages":[],"errors":{"summary":"The summary is invalid because it contains newline characters."}}
      05:23:15  [Pipeline] }

      In:
      https://qa2.nuxeo.org/jenkins/job/Private/job/Support/job/CHECK-tomcat-update/job/10.10/3/console

      Are due to:
      https://github.com/nuxeo/integration-scripts-priv/blob/master/Jenkinsfiles/check-tomcat-update.groovy#L72

      The result should be sorted and only the latest version should be returned.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.