I wanted to copy my code to a shared location for use in my pipe steps, but it doesn't appear that $BITBUCKET_PIPE_SHARED_STORAGE_DIR is recognized. My copy step is defined as follows:
definitions:
steps:
- step: ©CodeToSharedStorage
script:
- cp -r . $BITBUCKET_PIPE_SHARED_STORAGE_DIR
But seeing this in the log:
<span>cp -r . $BITBUCKET_PIPE_SHARED_STORAGE_DIR<br></span><span>cp: missing destination file operand after ‘.’<br></span><span>Try 'cp --help' for more information.</span>