jeffbyrnes / capistrano-scm-jenkins Goto Github PK
View Code? Open in Web Editor NEWWith this plugin, you can use jenkins build artifact as a repository, and deploy your build artifact with capistrano.
With this plugin, you can use jenkins build artifact as a repository, and deploy your build artifact with capistrano.
@jeffbyrnes can you move this project to your space.
I am no longer using or working on this project, and i think it's a good time for you to adopt this project. so can you move this project to your space, and I can help on all the issues you met (for example, setup a redirect README on this project, etc.)
thank you
When trying to use a force-https Jenkins repo, I get the dreaded SLL verify error.
open url https://redacted.repo.com/job/jobname//rssAll failed: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
I've been trying to figure out where to drop in a path to a cacert, but with little luck.
OpenURI open() returns StringIO (with no path method) if file size is < 10Kb
capistrano-scm-jenkins-0.0.5/lib/capistrano/recipes/deploy/scm/jenkins.rb:43:in
block in checkout': undefined method
path' for #StringIO:0x007fd743cd1e60 (NoMethodError)
if several projects share one repository, the SCM log will become useless.
we need support the prefix filter to show the SCM log related to this project
getting this error when pulling new artifact,
curl: (22) The requested URL returned error: 401 Authorization Required
I use self-sign certificates.
Can --fail be removed from update method?
context.execute :curl, "--silent --fail --show-error #{curl_auth} "
Thanks
Hello Jeffbynes, On Newer version of Capistrano I have seen the following Depricataion Notice.
"[Deprecation Notice] set :scm, "jenkins"
is deprecated."
On Capistrano Documentation ( https://capistranorb.com/documentation/advanced-features/custom-scm/ ) they were referring to create custom SCM and update the same on Capfile.
Could you please update the plugin which supports to latest Capistrano?
when there is a title like account #22 (1 more test is failing (total 19))
, the cap deploy:pending crashed
$ cap deploy:pending
triggering load callbacks
* 2013-10-28 17:00:25 executing `staging'
triggering start callbacks for `deploy:pending'
* 2013-10-28 17:00:25 executing `multistage:ensure'
* 2013-10-28 17:00:25 executing `deploy:pending'
* executing "cat /home/ubuntu/testenv/account/current/REVISION"
servers: ["222.73.201.152"]
[222.73.201.152] executing command
command finished in 357ms
** BUILD LOG
** =========
** 2013-10-28T08:57:15Z account #37 (stable)
/Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-scm-jenkins-0.0.6/lib/capistrano/recipes/deploy/scm/jenkins.rb:147:in `get_build_number_from_rss_all_title': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-scm-jenkins-0.0.6/lib/capistrano/recipes/deploy/scm/jenkins.rb:104:in `block in log_build_message'
from /Users/lidaobing/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/rexml/xpath.rb:67:in `each'
from /Users/lidaobing/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/rexml/xpath.rb:67:in `each'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-scm-jenkins-0.0.6/lib/capistrano/recipes/deploy/scm/jenkins.rb:101:in `log_build_message'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-scm-jenkins-0.0.6/lib/capistrano/recipes/deploy/scm/jenkins.rb:53:in `log'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/scm/base.rb:35:in `block in method_missing'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/scm/base.rb:63:in `local'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/recipes/deploy.rb:553:in `block (3 levels) in load'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `instance_eval'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:138:in `invoke_task_directly'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:46:in `block in execute_requested_actions'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:45:in `each'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:45:in `execute_requested_actions'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/cli/help.rb:19:in `execute_requested_actions_with_help'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:34:in `execute!'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/lib/capistrano/cli/execute.rb:14:in `execute'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/gems/capistrano-2.15.5/bin/cap:4:in `<top (required)>'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/bin/cap:23:in `load'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/bin/cap:23:in `<main>'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/lidaobing/.rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in `<main>'
/usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/recipes/deploy/scm/base.rb:94:in sync':
sync' is not implemented by Capistrano::Deploy::SCM::Jenkins (NotImplementedError)
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/recipes/deploy/strategy/remote_cache.rb:35:in update_repository_cache' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/recipes/deploy/strategy/remote_cache.rb:15:in
deploy!'
from /usr/local/lib/ruby/gems/1.8/gems/railsless-deploy-1.0.2/lib/railsless-deploy.rb:204
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in instance_eval' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in
invoke_task_directly_without_callbacks'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:27:in invoke_task_directly' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:89:in
execute_task'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:186:in send' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:186:in
method_missing'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:104:in update_code' from /usr/local/lib/ruby/gems/1.8/gems/railsless-deploy-1.0.2/lib/railsless-deploy.rb:185 from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:56:in
transaction'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:186:in send' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:186:in
method_missing'
from /usr/local/lib/ruby/gems/1.8/gems/railsless-deploy-1.0.2/lib/railsless-deploy.rb:184
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in instance_eval' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in
invoke_task_directly_without_callbacks'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:27:in invoke_task_directly' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:89:in
execute_task'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:186:in send' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:186:in
method_missing'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:104:in update' from /usr/local/lib/ruby/gems/1.8/gems/railsless-deploy-1.0.2/lib/railsless-deploy.rb:154 from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in
instance_eval'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in invoke_task_directly_without_callbacks' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:27:in
invoke_task_directly'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:89:in execute_task' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:101:in
find_and_execute_task'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:46:in execute_requested_actions_without_help' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:45:in
each'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:45:in execute_requested_actions_without_help' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/cli/help.rb:19:in
execute_requested_actions'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:34:in execute!' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:14:in
execute'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.9.0/bin/cap:4
from /usr/local/bin/cap:19:in `load'
from /usr/local/bin/cap:19
Please update to 3.4.0.
Thanks
Hi can you please update the mv command to include hidden files?
Thanks a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.