Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gitsindonesia/docker-jenkins-slave-azure
https://github.com/gitsindonesia/docker-jenkins-slave-azure
Last synced: about 23 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/gitsindonesia/docker-jenkins-slave-azure
- Owner: gitsindonesia
- Created: 2018-07-11T03:33:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-16T17:13:22.000Z (over 6 years ago)
- Last Synced: 2024-11-11T09:14:55.468Z (about 2 months ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jenkins SSH slave Docker image + Azure
[`gitsid/jenkins-slave-azure`](https://hub.docker.com/r/gitsid/jenkins-slave-azure/)
A [Jenkins](https://jenkins-ci.org) slave using SSH to establish connection + Azure CLI
## Running
To run a Docker container
```bash
docker run gitsid/jenkins-slave-azure ""
```You'll then be able to connect this slave using ssh-slaves-plugin as "jenkins" with the matching private key.
### How to use this image with Docker Plugin
To use this image with [Docker Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin), you need to
pass the public SSH key using environment variable `JENKINS_SLAVE_SSH_PUBKEY` and not as a startup argument.In _Environment_ field of the Docker Template (advanced section), just add:
JENKINS_SLAVE_SSH_PUBKEY=
Don't put quotes around the public key. You should be all set.