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. # You can specify a custom docker image from Docker Hub as your build environment.
#image: efrecon/tcl #image: efrecon/tcl
#image: appropriate/curl 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
pipelines: pipelines:
default: default:
- step: - step:
script: script:
#- mkdir SOURCES - tar -czvf projman-last.tgz *
- tar -czvf projman-0.4.5-1.tgz * - curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file projman-last.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