Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ValueError: Please specify a container name when using atlassian/azure-storage-deploy:2.2.1 pipe

Maruf
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 7, 2024

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

2 answers

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2024

@Maruf hi. Have you tried this solution:

'\$web'

according to Escape character Bash 

Regards, Igor

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 9, 2024

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

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2024

@Mark C . It is not an environment variable, it is the default name of Azure Storage Container.

Regards, Igor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events