Bitrise Build Issue Report template
Description of the issue
I’m using the “Do anything with Script step” in a workflow. I am mounting the default working directory (/bitrise/src/) into a Docker container, but the target directory inside the container is always empty.
Environment:
Android & Docker, on Ubuntu 18.04
Do anything with Script step v11.5
Reproducibility
- Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
-
Does a rebuild without caches help? (You can remove the
Cache:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. : NO - Does the issue happen sporadically, or every time? : EVERY TIME
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : A WEEK AGO
Local reproduction
I can run the exact same command locally without failure.
Build log
+------------------------------------------------------------------------------+
| (2) Do anything with Script step |
+------------------------------------------------------------------------------+
| id: script |
| version: 1.1.5 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: bash |
| time: 2018-09-13T20:41:51Z |
+------------------------------------------------------------------------------+
| |
+ docker run --tty --volume=/bitrise/src:/usr/local/firebase node:10.5-alpine sh -c 'cd /usr/local/firebase/functions && npm install'
Unable to find image 'node:10.5-alpine' locally
10.5-alpine: Pulling from library/node
ff3a5c916c92: Pulling fs layer
94f111771efe: Pulling fs layer
87fbae1a7501: Pulling fs layer
87fbae1a7501: Verifying Checksum
87fbae1a7501: Download complete
ff3a5c916c92: Verifying Checksum
ff3a5c916c92: Download complete
94f111771efe: Verifying Checksum
94f111771efe: Download complete
ff3a5c916c92: Pull complete
94f111771efe: Pull complete
87fbae1a7501: Pull complete
Digest: sha256:628d6994c7b950fda874dbb3bd04be6e5323c311c5c5e485aebe583c3e25b56f
Status: Downloaded newer image for node:10.5-alpine
sh: cd: line 1: can't cd to /usr/local/firebase/functions
| |
+---+---------------------------------------------------------------+----------+
| x | Do anything with Script step (exit code: 2) | 8.80 sec |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-io/steps-script/issues |
| Source: https://github.com/bitrise-io/steps-script |
+---+---------------------------------------------------------------+----------+