Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Require vendor/autoload in bin #107

@janvernieuwe

Description

@janvernieuwe

When running parallel lint in a build step, symlinks are not always kepth between build steps.

PHP Warning:  require(/data/home/bamboo/bamboo-agent-home/xml-data/build-dir/RVFR-NTB233-GET/bin/parallel-lint.php): failed to open stream: No such file or directory in /data/home/bamboo/bamboo-agent-home/xml-data/build-dir/RVFR-NTB233-GET/bin/parallel-lint on line 4
15-Nov-2017 12:13:58    PHP Fatal error:  require(): Failed opening required '/data/home/bamboo/bamboo-agent-home/xml-data/build-dir/RVFR-NTB233-GET/bin/parallel-lint.php' (include_path='.:/usr/local/zend/share/pear') in /data/home/bamboo/bamboo-agent-home/xml-data/build-dir/RVFR-NTB233-GET/bin/parallel-lint on line 4
15-Nov-2017 12:13:58    To skip commit checks, add -n or --no-verify flag to commit command

Other tasks attempt to load the vendor/autoload.php and do not seem to have this issue.
Have not been able to test yet if require-ing the autoloader does indeed fixes the issue above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions