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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.