hello,
see the included log of our pipelinebuilds :
+ docker run -t --entrypoint=/bin/bash --memory=4096m -e BUILD_DIR=/opt/atlassian/pipelines/agent/build -v /tmp/bashScript4949262805177817574.sh:/tmp/bashScript4949262805177817574.sh:ro -v build-volume-d4a7b51d-4eb4-4e51-a382-512b8df1acde:/opt/atlassian/pipelines:rw -w /opt/atlassian/pipelines/agent/build --label com.atlassian.pipelines.agent="a983833ab610" "atlassian/pipelines-dvcstools:latest" -i /tmp/bashScript4949262805177817574.sh
WARNING: Your kernel does not support swap limit capabilities, memory limited without swap.
+ umask 000
Completed at 2016-11-25T14:26:11Z
+ git clone --branch="develop" --depth 50 https://x-token-auth:$AUTH_TOKEN@bitbucket.org/MYCOMPANYREPO/api-b2b.git $BUILD_DIR && git reset --hard f1a3a7263995feba8cef88af8c8a04dc2bbda1ec && git remote set-url origin https://x-token-auth:{access_token}@bitbucket.org/MYCOMPANYREPO/api-b2b.git
Cloning into '/opt/atlassian/pipelines/agent/build'...
remote: Counting objects: 3801, done.[K
remote: Compressing objects: 0% (1/2962) [K
....
Resolving deltas: 100% (833/833), done.
Checking connectivity... done.
HEAD is now at f1a3a72 bitbucket-pipelines.yml edited online with Bitbucket
Completed at 2016-11-25T14:26:14Z
+ chmod 777 $BUILD_DIR
Completed at 2016-11-25T14:26:14Z
+ docker pull "codacy/codacy-phpmd:latest"
latest: Pulling from codacy/codacy-phpmd
...
a3ed95caeb02: Already exists
Digest: sha256:5106c29fd0821e9506bdd02c57a287f88996428542d340ae1279bcb6b148c137
Status: Image is up to date for codacy/codacy-phpmd:latest
+ docker run -t --rm=true --cidfile=/tmp/1480083970733-0/{5ef5fb22-9613-4a43-828a-df5e6135b9a4} --entrypoint=/bin/bash --memory=4096m --env-file=/tmp/dockerEnvironment863254565942487817.env -v /tmp/bashScript7637037326496481896.sh:/tmp/bashScript7637037326496481896.sh:ro -v build-volume-d4a7b51d-4eb4-4e51-a382-512b8df1acde:/opt/atlassian/pipelines:rw -v build-volume-d4a7b51d-4eb4-4e51-a382-512b8df1acde:/opt/atlassian/bitbucketci:rw -w /opt/atlassian/pipelines/agent/build --label com.atlassian.pipelines.agent="a983833ab610" "codacy/codacy-phpmd:latest" -i /tmp/bashScript7637037326496481896.sh
WARNING: Your kernel does not support swap limit capabilities, memory limited without swap.
+ composer install --ignore-platform-reqs --prefer-dist
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
- Installing bshaffer/oauth2-server-php (v1.8.0)
Downloading: Connecting... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100%
......
- Installing zendframework/zend-barcode (2.6.0)
Downloading: Connecting... Downloading: 0% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 30% Downloading: 35% Downloading: 45% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 80% Downloading: 90% Downloading: 95% Downloading: 100%
- Installing zendframework/zend-authentication (2.5.3)
Downloading: Connecting... Downloading: 0% Downloading: 10% Downloading: 20% Downloading: 30% Downloading: 40% Downloading: 50% Downloading: 55% Downloading: 65% Downloading: 75% Downloading: 80% Downloading: 90% Downloading: 100%
- Installing zendframework/zendframework (2.5.3)
Downloading: Connecting... Downloading: 0% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 45% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100%
Skipped installation of bin bin/templatemap_generator.php for package zendframework/zendframework: name conflicts with an existing file
- Installing MYCOMPANYREPO/cache (dev-develop baefb3e)
Cloning baefb3ed9511b676981bf8727b6ff15f8d4b94c9
[RuntimeException]
Failed to clone git@bitbucket.org:MYCOMPANYREPO/cache.git, git was not found, check that it is installed and in your PATH env.
sh: git: not found
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...
here is the pipeline yaml:
# This is a sample build configuration for PHP.
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: sideci/ubuntu14.04-php-phpmd:latest
pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- composer install --ignore-platform-reqs --prefer-dist
- phpmd vendor/mgis,module html codesize,cleancode,unusedcode
any idea why it keeps crashing?