lib/capistrano/jenkins.rb in capistrano-scm-jenkins-0.3.2 vs lib/capistrano/jenkins.rb in capistrano-scm-jenkins-0.3.3

- old
+ new

@@ -121,10 +121,11 @@ end def update # grab the newest artifact context.execute :curl, "--silent --fail --show-error #{curl_auth} " + - "#{artifact_url} -o #{fetch(:application)}#{artifact_ext}" + "#{artifact_url} -o #{fetch(:application)}#{artifact_ext} " + + "#{"--insecure" if fetch(:jenkins_insecure)}" end def release context.execute :cp, "#{fetch(:application)}#{artifact_ext}", release_path end