I need to use env variable as path in artifacts, so path can be more configurable.
my pipelines is like this:
- step:
name: Install and build
caches:
- yarn #cache is defined below in the definitions section
script:
- cd $FRONTEND_PATH
- yarn install
- yarn build
artifacts:
- $FRONTEND_PATH/build/**
but this doesn't work.
I wasn't able to solve this with a var, but knowing that your path is probably unique helps, for example
- $FRONTEND_PATH/build/**
Can become:
- **/build/**
If you can be even more specific with your path you could rule out creating unnecessary artifacts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.