diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-08-10 09:44:11 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-08-10 09:44:11 +0300 |
commit | 365aa635096277487dff71591a9ffc7aeb2896f6 (patch) | |
tree | f4db53b431002bc5c3dea8e4a015a65f72b62715 /appveyor.yml | |
parent | d9c75443844eef8566a76603244bbe552ffcf921 (diff) |
Push artifacts to binary store per commit
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index fc86f81f..3d6eb997 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,6 +16,9 @@ init: clone_folder: c:\boost.afio platform: x64 configuration: Release +environment: + JENKINS_NEDPROD_PASSWORD: + secure: vI+U4YDxi99hN90v6LMvmg== before_build: - git checkout master @@ -23,16 +26,18 @@ before_build: build_script: - ctest -S .ci.cmake -V after_build: - - 7z a afio_v2_binaries_win64.zip doc include Readme.md release_notes.md build\bin\Release\afio_dl-2.0-Windows-x64-Release.dll build\lib\Release\afio_dl-2.0-Windows-x64-Release.lib build\lib\Release\afio_sl-2.0-Windows-x64-Release.lib + - for /f %a in ('powershell -Command "Get-Date -format yyyyMMddHHmm"') do set datetime=%a + - set "TARNAME=boost.afio-v2.0-binaries-win64-%datetime%.zip" + - 7z a %TARNAME% doc include Readme.md release_notes.md build\bin\Release\afio_dl-2.0-Windows-x64-Release.dll build\lib\Release\afio_dl-2.0-Windows-x64-Release.lib build\lib\Release\afio_sl-2.0-Windows-x64-Release.lib before_test: test_script: after_test: on_success: + - curl -u jenkins-nedprod:%JENKINS_NEDPROD_PASSWORD% --data-binary @%TARNAME% https://dedi4.nedprod.com/static/files/upload/%TARNAME% on_failure: on_finish: - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path build\merged_junit_results.xml)) artifacts: - - path: afio_v2_binaries_win64.zip |