Build task fails on project without composer.json file

Created on 28 January 2025, 1 day ago

Problem/Motivation

On a project withou a composer.json file, the build task fails like on https://git.drupalcode.org/project/ui_examples/-/jobs/4167498

$ rm $_WEB_ROOT/modules/custom/$CI_PROJECT_NAME/composer.json # collapsed multi-line command
rm: cannot remove 'web/modules/custom/ui_examples/composer.json': No such file or directory

Steps to reproduce

Proposed resolution

Add optional removal.

πŸ› Bug report
Status

Active

Component

gitlab-ci

Created by

πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024