Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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
Product Admin
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events