Groovy Remote Control Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID groovy-remote Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
0.2 (archives)
Sep 12, 2012
1.475
Source Code
Issue Tracking
Pull Requests
Maintainer(s)
GitHub
Open Issues
Pull Requests
(not specified)
Usage Installations 2014-Jun 294
2014-Jul 343
2014-Aug 329
2014-Sep 351
2014-Oct 339
2014-Nov 346
2014-Dec 346
2015-Jan 356
2015-Feb 385
2015-Mar 401
2015-Apr 412
2015-May 438

This plugin provides Groovy Remote Control's receiver, and allows to control external application from Jenkins.

Control Jenkins from Groovy

import groovyx.remote.client.RemoteControl
import groovyx.remote.transport.http.HttpTransport

def transport = new HttpTransport("http://your-jenkins/plugin/groovy-remote/")
def remote = new RemoteControl(transport)

// This code runs on local.
def name = 'kiy0taka'
println name

def result = remote {
    // This clousre runs on Jenkins server.
    def version = jenkins.version.value
    println "Hi, ${name}!"

    // Return Jenkins version.
    return version
}

// This code runs on local.
println "Jenkins version was ${result}."

Control your Grails application from Jenkins

  1. Install Grails Remote Control plugin into your Grails application.
  2. Register Remote Receiver to Jenkins.
  3. Create Control Job, and add build step.

Release History

Version 0.2 (Sep 12, 2012)

  • Support proxy.
  • Added HTTP header settings.
  • Fixed NoClassDefFoundError in RemoteBuilder.

Version 0.1 (Aug 9, 2012)

  • Initial release

Labels

Edit
plugin-builder plugin-builder Delete
plugin-groovy-related plugin-groovy-related Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.