Deploy scripts are based on the superb work of @fbrnc and AOE (https://github.com/AOEpeople/magento-deployscripts)
-
Whole magento project is packaged into a build archive (project.tar.gz)
-
Generated build is copied to a central storage server
-
Jenkins copies deploy.sh to remote server
-
deploy.sh is executed on remote server and initiates install.sh
-
Jenkins triggers cleanup script on remote server
"require": {
"ambimax/magento-deployscripts": "~1.0"
}