Hi Team,
I have setup the pipeline for repo.. using ssh keys bitbucket and server is communicating using ssh keys .
But Now i dont't want to deploy "upload" folder using pipeline. How to do it.
Note:- Below mentioned configuration pipeline
bucket-pipeline.yml
image: "ubuntu:16.04"
pipelines:
branches:
master:
-
step:
name: PHP
caches:
- pip
script:
- "apt-get update -y"
- "apt-get install -y zip"
- "apt-get install php libapache2-mod-php -y"
- "apt-get install curl -y"
- "mkdir artifact"
- "zip -r ./artifact/artifact-master.zip *"
- "apt-get install sshpass -y"
- "time sshpass -p 'a0eMY1qy7d-g' scp -o StrictHostKeyChecking=no -o LogLevel=DEBUG ./artifact/artifact-master.zip functionsandcate@203.143.86.101:/home/functionsandcate/test"
artifacts:
- artifact/*.zip
Regards,
venkat