Skip to content

MBT build fails with Node 22 Docker image, succeeds with Node 20 #1187

@chandpasha-svg

Description

@chandpasha-svg

Bug report

Do you want to request a feature or report a bug?

Bug

MBT Version

MBT version used in CI (from Docker image):

  • devxci/mbtci-java17-node22 (failing)
  • devxci/mbtci-java17-node20 (working)

(Exact MBT version can be provided if required)

OS Version

Linux (CI/CD – Jenkins / SAP Piper)

Project

SAP Cloud TMS – MTA build in central pipeline
(Internal repository – cannot be shared publicly)

Description

The MTA build (mtaBuild step) fails when using a Docker image with Node.js 22.
The same project builds successfully when using a Node.js 20–based MBT image.

This indicates a compatibility issue between MBT and Node.js 22.

Steps to Reproduce

  1. Configure CI pipeline to use Docker image devxci/mbtci-java17-node22
  2. Run mbt build via mtaBuild step
  3. Build fails with:

[mtaBuild] Step execution failed (category: build)
Error: running command 'mbt' failed: exit status 1

JAAS: https://cloudtms.jaas-gcp.cloud.sap.corp/job/tmsPiper30/job/master/

GitHub: https://github.wdf.sap.corp/cloud-tms/tms/blob/master/.pipeline/configmaster.yaml#L89

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions