bitbucket-pipelines.yml отредактирован онлайн на Bitbucket

This commit is contained in:
Sergey Kalinin 2018-02-16 09:58:46 +00:00
parent 800a4c8831
commit 8d4b0c91a8

View File

@ -4,24 +4,11 @@
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
#image: efrecon/tcl
#image: appropriate/curl
#pipelines:
# default:
# - step:
# script:
# - tar -czvf projman-0.4.5-1.tgz *
# - curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file projman-last.tgz
image: jitakirin/rpmbuild
image: appropriate/curl
pipelines:
default:
- step:
script:
#- mkdir SOURCES
- tar -czvf projman-0.4.5-1.tgz *
- TOPDIR=$BUILD_DIR/home/rpmbuild/rpmbuild runuser rpmbuild /usr/local/bin/docker-rpm-build.sh projman.spec
#- rpmbuild -r /opt/atlassian/pipelines/agent/build -ba projman.spec
#- curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file projman-0.4.5-1.tgz
- tar -czvf projman-last.tgz *
- curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file projman-last.tgz