rac-gui/bitbucket-pipelines.yml

27 lines
902 B
YAML
Raw Normal View History

# This is a sample build configuration for Other.
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: svk28/rac-gui-build:centos8
pipelines:
default:
- step:
script:
- cd /home/rpmbuild
- whoami
- chmod -R 777 /files
- ./build-rpm.sh
- ls -1 /files | xargs -l bash -c 'curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file -'
#image: atlassian/sftp-deploy:0.5.6
# variables:
# USER: '<string>'
# SERVER: '<string>'
# REMOTE_PATH: '<string>'
# LOCAL_PATH: '<string>' # Optional.
# SSH_KEY: '<string>' # Optional.
# PASSWORD: '<string>' # Optional.
# EXTRA_ARGS: '<string>' # Optional.
# DEBUG: '<boolean>' # Optional.