No commit activity in last 3 years
No release in over 3 years
Enables Capistrano 3 to download artifacts from Nexus and extract their contents to the release directory instead of using SCM to deploy an application
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

A gem that enables Capistrano 3 to download artifacts from Artifactory or Nexus and extract their contents to the release directory instead of using SCM to deploy an application.

Usage

Add gem 'capistrano_scm_nexus' to your Gemfile.

Add require 'capistrano_scm_nexus' to your Capfile.

Set the following configuration variables in config/deploy.rb or wherever relevant:

set :scm, 'nexus'
set :nexus_endpoint, 'http://nexus.example.com/nexus/content/repositories'
set :nexus_artifact_name, 'my-application'
set :nexus_artifact_version, '1.0.2'
set :nexus_repository, 'releases'
set :nexus_group_id, 'com.example'

Other useful variables:

  • nexus_strategy - Overrides the strategy used by this gem with the constant that you specify.

Based on the information you provide, the Nexus strategy will download a tgz from the nexus repository and untar and ungzip it into the releases directory.

This gem expects that you have already tarred and gzipped your application and uploaded it to nexus.