Permalink
Switch branches/tags
Nothing to show
Commits on Nov 28, 2011
  1. Merge pull request #4 from mika/master

    set default plugin URL to avoid build errors
    committed Nov 28, 2011
Commits on Nov 26, 2011
  1. pluginspec: set plugin.url

    Otherwise jpi build fails:
    
    | NoMethodError: undefined method `length' for nil:NilClass
    |   manifest_truncate at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/jenkins-plugin-0.1.16/lib/jenkins/plugin/tools/manifest.rb:63
    |                 put at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/jenkins-plugin-0.1.16/lib/jenkins/plugin/tools/manifest.rb:59
    |           write_hpi at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/jenkins-plugin-0.1.16/lib/jenkins/plugin/tools/manifest.rb:27
    |               build at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/jenkins-plugin-0.1.16/lib/jenkins/plugin/tools/package.rb:31
    |   get_output_stream at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/rubyzip-0.9.5/lib/zip/zip_streamable_stream.rb:12
    |   get_output_stream at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/rubyzip-0.9.5/lib/zip/zip_file.rb:141
    |               build at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/jenkins-plugin-0.1.16/lib/jenkins/plugin/tools/package.rb:30
    |                open at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/rubyzip-0.9.5/lib/zip/zip_file.rb:86
    |               build at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/jenkins-plugin-0.1.16/lib/jenkins/plugin/tools/package.rb:29
    |               build at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/jenkins-plugin-0.1.16/lib/jenkins/plugin/cli.rb:23
    |                send at org/jruby/RubyKernel.java:2093
    |                 run at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:21
    |         invoke_task at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118
    |            dispatch at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor.rb:263
    |               start at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389
    |              (root) at /home/mika/.rbenv/versions/jruby-1.6.5/lib/ruby/gems/1.8/gems/jenkins-plugin-0.1.16/bin/jpi:5
    |                load at org/jruby/RubyKernel.java:1063
    |              (root) at /home/mika/.rbenv/versions/jruby-1.6.5/bin/jpi:19
    mika committed Nov 26, 2011
Commits on Nov 4, 2011
  1. need to require RackSupport

    kohsuke committed Nov 4, 2011
  2. Did we ever actually had "jenkins.ruby.GetDynamic" interface? All I s…

    …ee is jenkins.ruby.Get. But then, how did this work to begin with!? Do I need more caffaine?
    kohsuke committed Nov 4, 2011
Commits on Oct 27, 2011
Commits on Oct 21, 2011
  1. updated to the proper format.

    kohsuke committed Oct 21, 2011
  2. Add notifier and recorder example

    ...which does not work. Jenkins does not pick these.
    nahi committed Oct 21, 2011
Commits on Oct 14, 2011
  1. oops. looks like the .pluginspec was set to depend on a development s…

    …napshot of ruby-runtime plugin.
    committed Oct 14, 2011
Commits on Sep 29, 2011
  1. Remove unnecessary require

    nahi committed Sep 29, 2011
  2. Add Publisher wrapper example

    JavaDoc of Publisher says it's deprecated and use Notifier/Recorder, but
    Jenkins looks up Publisher for now. Is it OK to use Publisher?
    nahi committed Sep 29, 2011
Commits on Sep 28, 2011
  1. Logger compatible Jenkins::Model::Listener

    I don't wrap annotate and hyperlink. We can do those in Ruby lang.
    nahi committed Sep 28, 2011
  2. Environment variable are not set

    I should start to write specs soon...
    nahi committed Sep 28, 2011
  3. Add Jenkins::FilePath

    As a wrapper of Java.hudon.FilePath with Pathname interface. No spec,
    lots of TODOs.
    nahi committed Sep 28, 2011
  4. Add Launcher API

    Wrap Launcher as a Ruby's Process.spawn style API.
    nahi committed Sep 28, 2011
Commits on Sep 27, 2011
  1. Merge pull request #3 from acrmp/travis-plugin-bundle-install

    Run bundle install.
    nahi committed Sep 27, 2011
  2. Merge pull request #2 from acrmp/travis-plugin-io

    Fix for reading travis yaml.
    nahi committed Sep 27, 2011
Commits on Sep 25, 2011
  1. Run bundle install.

    acrmp committed Sep 25, 2011
  2. Fix for reading travis yaml.

    acrmp committed Sep 25, 2011
Commits on Sep 23, 2011
  1. resolved a few TODOs

    kohsuke committed Sep 23, 2011
  2. prebuild and perform can return any value now

    Raise an error for build failure.
    nahi committed Sep 23, 2011
  3. Initial impl of Launcher.ProcStarter wrapper

    Use instance_eval to replace self. Not smart.
    nahi committed Sep 23, 2011
  4. Fix NME (NoMethodError, NPE in Ruby world)

    instance variable name typo fixed. Don't too much trust reloading
    feature...
    
    And I changed ["bash", "-c", command] for launcher command execution to
    use Shellwords ruby module. A little better for execution environment
    interoperability.
    nahi committed Sep 23, 2011
  5. Disable TestBuilder

    Because there looks to be an issue around builder selecting. If there're
    2 (or more, I believe) builders in Ruby plugin, one builder is always
    picked up by Jenkins. Try to add 2 builders for a job then you'll see 1
    builder listed twice in config view.
    nahi committed Sep 23, 2011
  6. Add TravisScriptBuilder

    It searches .travis.yml and build according to the configuration. It has
    2 additional TODOs.
    
     * TODO: Some file access methods won't work for remote build. Find a
       way to do it even on remote host: File.exist?, File.read
    
     * TODO: It doesn't run on some OSes such as Windows because of
       "bash -c".
    
    Is there a easy way to do 'command execution as a whole String'?
    http://d.hatena.ne.jp/sikakura/20110324/1300977208 is doing
    Arrays.asList(str.split(" ")) which should be wrong.
    nahi committed Sep 23, 2011
  7. Add DropdownList sample

    It doesn't work properly (you'll see empty dropdown list in the page)
    but I think it's worth adding since it points TODOs when we want to
    improve Ruby's view integration.
    nahi committed Sep 23, 2011
  8. Add a workaround for reloading

    This uglish code for avoid reloading issue points out that original
    issue. Caching instances is a memory leak so we should find another way
    to keep child nodes.
    
    So child nodes must not be an action but a describable.
    nahi committed Sep 23, 2011
Commits on Sep 21, 2011
  1. UISample in Ruby implementation

    Still there're lots of TODOs.
     * taglib: sample.jelly does not pick up 'it' correctly now.
     * AutoCompleteTextBox: how do we implement AutoCompletionCandidates?
     * JavaScriptProxy: let stapler recognize JavaScript method.
    nahi committed Sep 21, 2011
  2. Prepare a file for each RootAction

    nahi committed Sep 21, 2011