All Projects → jenkinsci → Swarm Plugin

jenkinsci / Swarm Plugin

Jenkins swarm plugin

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Swarm Plugin

docker-commons-plugin
API plugin, which provides the common shared functionality for various Docker-related plugins.
Stars: ✭ 38 (-66.67%)
Mutual labels:  jenkins, jenkins-plugin
calendar-view-plugin
Jenkins Calendar View Plugin: Shows past and future builds in a calendar view
Stars: ✭ 17 (-85.09%)
Mutual labels:  jenkins, jenkins-plugin
github-api-plugin
This plugin packages stock github-api library
Stars: ✭ 20 (-82.46%)
Mutual labels:  jenkins, jenkins-plugin
Jira Steps Plugin
Jenkins pipeline steps for integration with JIRA.
Stars: ✭ 88 (-22.81%)
Mutual labels:  jenkins, jenkins-plugin
Simple Theme Plugin
A simple theme plugin for Jenkins
Stars: ✭ 45 (-60.53%)
Mutual labels:  jenkins, jenkins-plugin
file-operations-plugin
File Operations as Build Step in Jenkins
Stars: ✭ 26 (-77.19%)
Mutual labels:  jenkins, jenkins-plugin
parameterized-trigger-plugin
Jenkins parameterized-trigger plugin
Stars: ✭ 63 (-44.74%)
Mutual labels:  jenkins, jenkins-plugin
aliyun-oss-uploader-plugin
Aliyun/AliCloud OSS uploader
Stars: ✭ 26 (-77.19%)
Mutual labels:  jenkins, jenkins-plugin
Jenkins Os
Groovy pipeline jobs that build and test Container Linux with Jenkins
Stars: ✭ 43 (-62.28%)
Mutual labels:  jenkins, jenkins-plugin
Docker Workflow Plugin
Jenkins plugin which allows building, testing, and using Docker images from Jenkins Pipeline projects.
Stars: ✭ 419 (+267.54%)
Mutual labels:  jenkins, jenkins-plugin
bitbucket-push-and-pull-request-plugin
Plugin for Jenkins v2.138.2 or later, that triggers job builds on Bitbucket's push and pull request events.
Stars: ✭ 47 (-58.77%)
Mutual labels:  jenkins, jenkins-plugin
Role Strategy Plugin
Jenkins Role-Strategy plugin
Stars: ✭ 91 (-20.18%)
Mutual labels:  jenkins, jenkins-plugin
learn-ansible-and-jenkins-in-30-days
Ansible + Jenkins in 30 days tutorial.
Stars: ✭ 35 (-69.3%)
Mutual labels:  jenkins, jenkins-plugin
custom-tools-plugin
A generic tool installer for Jenkins
Stars: ✭ 25 (-78.07%)
Mutual labels:  jenkins, jenkins-plugin
mailer-plugin
This plugin allows you to configure email notifications for build results
Stars: ✭ 35 (-69.3%)
Mutual labels:  jenkins, jenkins-plugin
pipeline-maven-plugin
Pipeline Maven Plugin
Stars: ✭ 50 (-56.14%)
Mutual labels:  jenkins, jenkins-plugin
artifact-promotion-plugin
A simple Jenkins plugin to promote artifacts.
Stars: ✭ 29 (-74.56%)
Mutual labels:  jenkins, jenkins-plugin
ecutest-plugin
This plugin integrates Jenkins with ECU-TEST and generates reports on automated test execution.
Stars: ✭ 23 (-79.82%)
Mutual labels:  jenkins, jenkins-plugin
Pipeline Aws Plugin
Jenkins Pipeline Step Plugin for AWS
Stars: ✭ 389 (+241.23%)
Mutual labels:  jenkins, jenkins-plugin
Envinject Plugin
This plugin makes it possible to setup a custom environment for your jobs
Stars: ✭ 74 (-35.09%)
Mutual labels:  jenkins, jenkins-plugin

= Swarm Plugin :toc: :toc-placement!: :toc-title: ifdef::env-github[] :tip-caption: 💡 :note-caption: ℹ️ :important-caption: ❗️ :caution-caption: 🔥 :warning-caption: ⚠️ endif::[]

https://ci.jenkins.io/job/Plugins/job/swarm-plugin/job/master/[image:https://ci.jenkins.io/job/Plugins/job/swarm-plugin/job/master/badge/icon[Build Status]] https://github.com/jenkinsci/swarm-plugin/graphs/contributors[image:https://img.shields.io/github/contributors/jenkinsci/swarm-plugin.svg[Contributors]] https://plugins.jenkins.io/swarm[image:https://img.shields.io/jenkins/plugin/v/swarm.svg[Jenkins Plugin]] https://github.com/jenkinsci/swarm-plugin/releases/latest[image:https://img.shields.io/github/release/jenkinsci/swarm-plugin.svg?label=changelog[GitHub release]] https://plugins.jenkins.io/swarm[image:https://img.shields.io/jenkins/plugin/i/swarm.svg?color=blue[Jenkins Plugin Installs]]

toc::[]

== Introduction

The Swarm plugin enables nodes to join a nearby Jenkins controller, thereby forming an ad-hoc cluster. This plugin makes it easier to scale a Jenkins cluster by spinning up and tearing down new nodes.

This plugin consists of two pieces:

. A self-contained client that can join an existing Jenkins controller. . A plugin that needs to be installed on the Jenkins controller to accept Swarm clients.

With the Swarm client, a person who is willing to contribute some of his computing power to the cluster just needs to run a virtual machine with the Swarm client and the cluster gets an additional agent. Because the Swarm client is running on a separate VM, there is no need to worry about the builds/tests interfering with the host system or altering its settings unexpectedly.

== Getting started

. Install the Swarm plugin from the Update Center. . Download https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/swarm-client/[the Swarm client]. . Run the Swarm client with java -jar path/to/swarm-client.jar. There are no required command-line options; run with the -help option to see the available options.

== Documentation

  • xref:CHANGELOG.adoc[Changelog]
  • xref:docs/logging.adoc[Logging and Diagnostics]
  • xref:docs/prometheus.adoc[Prometheus Monitoring]
  • xref:docs/proxy.adoc[Proxy Configuration]
  • xref:docs/security.adoc[Global Security Configuration]

== Available options

$ java -jar swarm-client.jar -help

[cols="1,1",options="header"] |=== |Name |Description |-deleteExistingClients |Delete any existing agent with the same name. (default: false) |-description VAL |Description to be put on the agent. |-disableClientsUniqueId |Disable client's unique ID. (default: false) |-disableSslVerification |Disable SSL verification in the HTTP client. (default: false) |-disableWorkDir |Disable Remoting working directory support and run the agent in legacy mode. (default: false) |-e (--env) |An environment variable to be defined on this agent. It is specified as key=value'. Multiple variables are allowed. |-executors N|Number of executors (default: number of CPUs) |-failIfWorkDirIsMissing|Fail if the requested Remoting working directory or internal directory is missing. (default: false) |-fsroot FILE|Remote root directory. (default: .) |-help (--help, -h)|Show the help screen (default: false) |-internalDir FILE|The name of the directory within the Remoting working directory where files internal to Remoting will be stored. |-jar-cache FILE|Cache directory that stores JAR files sent from the master. |-labels VAL|Whitespace-separated list of labels to be assigned for this agent. Multiple options are allowed. |-labelsFile VAL|File location with space delimited list of labels. If the file changes, the client is restarted. |-master VAL|The complete target Jenkins URL likehttp://server:8080/jenkins/'. |-maxRetryInterval N |Max time to wait before retry in seconds. Default is 60 seconds. (default: 60) |-mode MODE |The mode controlling how Jenkins allocates jobs to agents. Can be either normal' (use this node as much as possible) orexclusive' (only build jobs with label expressions matching this node). Default is normal'. (default: normal) |-name VAL|Name of the agent. |-noRetryAfterConnected|Do not retry if a successful connection gets closed. (default: false) |-password VAL|The Jenkins user API token or password. |-passwordEnvVariable VAL|Environment variable containing the Jenkins user API token or password. |-passwordFile VAL|File containing the Jenkins user API token or password. |-pidFile VAL|File to write PID to. The client will refuse to start if this file exists and the previous process is still running. |-prometheusPort N|If defined, then start an HTTP service on this port for Prometheus metrics. (default: -1) |-retry N|Number of retries before giving up. Unlimited if not specified. (default: -1) |-retryBackOffStrategy RETRY_BACK_OFF_STRATEGY|The mode controlling retry wait time. Can be eithernone' (use same interval between retries) or linear' (increase wait time before each retry up to maxRetryInterval) orexponential' (double wait interval on each retry up to maxRetryInterval). Default is none'. (default: NONE) |-retryInterval N|Time to wait before retry in seconds. Default is 10 seconds. (default: 10) |-sslFingerprints VAL|Whitespace-separated list of accepted certificate fingerprints (SHA-256/Hex), otherwise system truststore will be used. No revocation, expiration or not yet valid check will be performed for custom fingerprints! Multiple options are allowed. (default: ) |-t (--toolLocation)|A tool location to be defined on this agent. It is specified astoolName=location'. |-tunnel VAL |Connect to the specified host and port, instead of connecting directly to Jenkins. Useful when connection to Jenkins needs to be tunneled. Can be also HOST: or :PORT, in which case the missing portion will be auto-configured like the default behavior |-username VAL |The Jenkins username for authentication. |-webSocket |Connect using the WebSocket protocol. (default: false) |-workDir FILE |The Remoting working directory where the JAR cache and logs will be stored. |===

== Issues

Report issues and enhancements in the https://issues.jenkins.io/[Jenkins issue tracker]. Use the swarm-plugin component in the JENKINS project.

== Contributing

Refer to our https://github.com/jenkinsci/.github/blob/master/CONTRIBUTING.md[contribution guidelines].

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].