Commit 6931c43d authored by Erwan Croze's avatar Erwan Croze 👋🏻

Upload windows and mac package at each build

parent 5e96388f
Pipeline #2097 failed with stages
in 39 minutes and 10 seconds
...@@ -67,7 +67,7 @@ job-centos7-rpm: ...@@ -67,7 +67,7 @@ job-centos7-rpm:
job-centos7-rpm-deploy: job-centos7-rpm-deploy:
stage: deploy stage: deploy
tags: [ "deploy" ] tags: [ "deploy-linux" ]
only: only:
- schedules - schedules
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
artifacts: artifacts:
paths: paths:
- WORK/desktop/Build/linphone_package/Linphone-*.dmg - WORK/desktop/Build/linphone_package/$PACKAGE_NAME-*.dmg
- WORK/desktop/Build/linphone_package/linphone-sdk-*-mac.zip - WORK/desktop/Build/linphone_package/linphone-sdk-*-mac.zip
when: always when: always
expire_in: 1 week expire_in: 1 week
...@@ -69,7 +69,7 @@ job-macosx-xcode: ...@@ -69,7 +69,7 @@ job-macosx-xcode:
artifacts: artifacts:
paths: paths:
- WORK/desktop/Build/linphone_package/Linphone-*.dmg - WORK/desktop/Build/linphone_package/$PACKAGE_NAME-*.dmg
- WORK/desktop/Build/linphone_package/linphone-sdk-*-mac.zip - WORK/desktop/Build/linphone_package/linphone-sdk-*-mac.zip
when: always when: always
expire_in: 1 week expire_in: 1 week
...@@ -78,16 +78,13 @@ job-macosx-xcode: ...@@ -78,16 +78,13 @@ job-macosx-xcode:
# Deploy # Deploy
################################################# #################################################
job-macosx-xcode-deploy: job-macosx-deploy:
stage: deploy stage: deploy
tags: [ "deploy" ] tags: [ "deploy" ]
only:
- schedules
dependencies: dependencies:
- job-macosx-xcode - job-macosx-ninja
script: script:
- scp Linphone-*-mac.dmg $DEPLOY_SERVER:$MACOSX_UPLOAD_DIRECTORY/ - scp WORK/desktop/Build/linphone_package/$PACKAGE_NAME-*-mac.dmg $DEPLOY_SERVER:$MACOSX_UPLOAD_DIRECTORY/
- ssh -l $DEPLOY_SERVER jenkins_link_latest $MACOSX_UPLOAD_DIRECTORY 'Linphone-*-mac.dmg' \ No newline at end of file
\ No newline at end of file
...@@ -17,7 +17,7 @@ job-windows-vs2015: ...@@ -17,7 +17,7 @@ job-windows-vs2015:
artifacts: artifacts:
paths: paths:
- WORK/desktop/Build/linphone_package/Linphone-*-win32.exe - WORK/desktop/Build/linphone_package/%PACKAGE_NAME%-*-win32.exe
expire_in: 1 week expire_in: 1 week
################################################# #################################################
...@@ -29,11 +29,8 @@ job-windows-deploy: ...@@ -29,11 +29,8 @@ job-windows-deploy:
stage: deploy stage: deploy
tags: [ "deploy" ] tags: [ "deploy" ]
only:
- schedules
dependencies: dependencies:
- job-windows-vs2015 - job-windows-vs2015
script: script:
- scp Linphone-*-win32.exe $DEPLOY_SERVER:$WINDOWS_UPLOAD_DIRECTORY/ - scp WORK/desktop/Build/linphone_package/$PACKAGE_NAME-*-win32.exe $DEPLOY_SERVER:$WINDOWS_UPLOAD_DIRECTORY/
- ssh -l $DEPLOY_SERVER jenkins_link_latest $WINDOWS_UPLOAD_DIRECTORY 'Linphone-*-win32.exe' \ No newline at end of file
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment