ValueError: Please specify a container name when using atlassian/azure-storage-deploy:2.2.1 pipe
yml
- step:
name: Deploy to Azure
deployment: Production
script:
- pipe: atlassian/azure-storage-deploy:2.2.1
variables:
SOURCE: 'build'
DESTINATION_STORAGE_ACCOUNT_NAME: 'https://xxxxxxxx.blob.core.windows.net'
DESTINATION_SAS_TOKEN: $SAS_TOKEN3
DESTINATION_CONTAINER_NAME: '$web'
DEBUG: 'true'
We have tried using escape character (‘///$web’ and ‘//$web’) to take the name $web but we get the same error
Hi @Maruf,
Welcome to the community.
Before the Pipe script, would you be able to print the $web environment variable to ensure it is not empty?
- echo $web
Also, could you try to use a static string name and see if the Pipe is running after that?
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mark C . It is not an environment variable, it is the default name of Azure Storage Container.
Regards, Igor
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.