https://github.com/lifailon/parallel-execution-pipeline
Jenkins pipeline that I use in my home environment to automate execution commands on multiple remote hosts.
https://github.com/lifailon/parallel-execution-pipeline
devops groovy jenkins jenkins-pipeline jenkinsfile parallel pipeline
Last synced: 3 months ago
JSON representation
Jenkins pipeline that I use in my home environment to automate execution commands on multiple remote hosts.
- Host: GitHub
- URL: https://github.com/lifailon/parallel-execution-pipeline
- Owner: Lifailon
- Created: 2025-07-10T23:03:02.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-11T00:45:13.000Z (3 months ago)
- Last Synced: 2025-07-11T05:52:35.583Z (3 months ago)
- Topics: devops, groovy, jenkins, jenkins-pipeline, jenkinsfile, parallel, pipeline
- Language: Groovy
- Homepage:
- Size: 822 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parallel Execution Pipeline
This is a simple Jenkins pipeline that I use in my home environment to automate execution commands on multiple remote hosts.
Supports 2 operating modes:
- Parallel execution of commands on one host.
- Sequential execution of commands, but in parallel on multiple hosts.## Launch
To run in your environment, use SCM Git `https://github.com/Lifailon/parallel-execution-pipeline.git` (branch `main`) for download `Jenkinsfile.groovy` file and update the parameters in the job settings.
## Plugins used (dependencies)
- [SSH Pipeline Steps](https://plugins.jenkins.io/ssh-steps) to connect to remote hosts.
- [AnsiColor](https://plugins.jenkins.io/ansicolor) to separate commands or hosts in the output by color.## Execution examples
Example of a command list:
```bash
sleep 6 && echo Complete sleep 6 sec on $(hostname)
sleep 8 && echo Complete sleep 8 sec on $(hostname)
sleep 4 && echo Complete sleep 4 sec on $(hostname)
```- Result of execution on one host:

- Result of execution on two hosts:
