I want to be able to create a directory on bitbucket pipeline for temporary usage in the script only.
My imported docker tools are :
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: name: abhisheksaxena7/salesforcedockerimg
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.
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...
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