Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how do i create a directory to store temporary files from bitbucket pipelines

I want to be able to create a directory on bitbucket pipeline for temporary usage in the script only.

 

My imported docker tools are : 

FROM alpine 
RUN apk update
RUN apk add bash
RUN apk add openssh
RUN apk add git
RUN apk add openjdk8
RUN apk add apache-ant --update-cache \ --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \ --allow-untrusted
ENV ANT_HOME /usr/share/java/apache-ant
ENV PATH $PATH:$ANT_HOME/bin

 

My pipeline look like this : 

image:  nameabhisheksaxena7/salesforcedockerimg
pipelines:  
branches:        
uat:      
step:          
deploymentUAT          
script:              # get code from lot1 environnement which is configured as the dev org                        
 - 
ant -buildfile build/build.xml getCode -Dsfdc.username=$SFDC_DEV_USERNAME -Dsfdc.password=$SFDC_DEV_PWDTOKEN -Dsfdc.serverurl=https://$SFDC_SERVERURL -Dsfdc.retrieveTarget=src            
# push code to uat environnement which is configured as the dev org             
ant -buildfile build/build.xml deployCodeWithoutTest -Dsfdc.username=$SFDC_USERNAME -Dsfdc.password=$SFDC_PASS$SFDC_TOKEN -Dsfdc.serverurl=https://$SFDC_SERVERURL -Dsfdc.retrieveTarget=src            

 Instead of extracting from salesforce , i want to get the files from bitbucket itself from a specific directory i will build in the script. 

First i need to know how to create the directory. With ant i can, but i want to create it first before executing ant for the deployment only.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

2,222 views 47 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you