Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-14835

Azure DevOps pipelines fail for projects with JavaScript but no TypeScript code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.9.1
    • Component/s: None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      On a project with JavaScript files, the TypeScript compiler prints an error log when there's no TypeScript files in the project:

      "The 'files' list in config file 'tsconfig.json' is empty."

      This log, printed as ERROR, stops the build and fails the pipeline in Azure DevOps (this is Azure default behavior).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sonarqube.tech SonarQube Technical user
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: