Jenkins : Parameterized Remote Trigger Plugin

Plugin Information

View Parameterized Remote Trigger on the plugin site for more information.

Older versions of this plugin may not be safe to use. Please review the following warnings before using an older version:

A plugin for Jenkins CI that gives you the ability to trigger parameterized builds on a remote Jenkins server as part of your build.

Similar to the Parameterized Trigger Plugin, but for remote servers.

This is done by calling the /buildWithParameters URL on the remote server. (or the /build URL, if you don't specify any parameters)

This plugin also has support for build authorization tokens (as defined here ), and plays nicely with these other guys:

Screenshots

System configuration option


System configuration (via script)




import jenkins.model.Jenkins
import org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration
import org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteJenkinsServer
import org.jenkinsci.plugins.ParameterizedRemoteTrigger.auth2.CredentialsAuth;

// get Jenkins instance
Jenkins jenkins = Jenkins.getInstance();

def auth = new CredentialsAuth();
auth.setCredentials("credential.id")

def remoteJenkinsServer = new RemoteJenkinsServer();
remoteJenkinsServer.setDisplayName("instance.name");
remoteJenkinsServer.setAddress("instance.url");
remoteJenkinsServer.setAuth2(auth);
def descriptor = jenkins.getDescriptorByType(RemoteBuildConfiguration.DescriptorImpl.class);
descriptor.setRemoteSites(remoteJenkinsServer);

jenkins.save()




Job setup options

Change-log 

3.0.9 (Aug 17th, 2019)

New feature

  • None

Improvement

  • Stream output rather than dump it all out at the end (a625e4b)
  • Added the ability to trust untrusted certificates (08ec3ec)

Bug fixes

  • None

3.0.8 (Mar 27th, 2019)

New feature

  • None

Improvement

  • Java doc refinement: Handle.getBuildStatus, Handle.updateBuildStatus (541365a)
  • Extend POST timeout & avoid re-POST after timeout (97de437)
  • Handle proxy host to avoid fail in subsequent requests (285d657)

Bug fixes

  • None

3.0.7 (Dec 9th, 2018)

New feature

  • None

Improvement

  • None

Bug fixes

3.0.6 (Sep 19th, 2018)

New feature

  • Disable remote trigger job step instead of removing it

Improvement

  • None

Bug fixes

3.0.5 (Aug 20th, 2018)

New feature

  • None

Improvement

  • None

Bug fixes

3.0.4 (Jul 30th, 2018)

New feature

  • Support to abort remote job

Improvement

  • None

Bug fixes

3.0.3 (Jul 23th, 2018)

New feature

  • None

Improvement

  • Add concurrent connection restriction to prevent remote servers from blocking
  • Add job info. & crumb cache to reduce the dummy inquiries when parallel triggering

Bug fixes


Important change

  • jdk version must be at least v1.8

3.0.2 (Jul 18th, 2018)

New feature

  • None

Improvement

  • HTTP utility reorganized
    • post with form-data

Bug fixes

  • Fix parameters are too long (HTTP status 414)

3.0.1 (Jul 10th, 2018)

New feature

  • Support triggering remote jobs via Jenkins proxy

Improvement

  • code refinement

Bug fixes

  • [JENKINS-47919 ]( JENKINS-47919 - Checking parameters of remote job build fails Closed ) (clarified & fixed)

3.0.0 (May 17th, 2018)

New feature

  • Pipeline support

     Improvement

     Bug fixes

For more details 

https://github.com/jenkinsci/parameterized-remote-trigger-plugin/blob/master/CHANGELOG.md 

Issues

type key summary

Can't show details. Ask your admin to whitelist this Jira URL.

View these issues in Jira

Attachments: