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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.