Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aturingmachine/jenkins-script
Because I hate jenkins.
https://github.com/aturingmachine/jenkins-script
Last synced: about 1 month ago
JSON representation
Because I hate jenkins.
- Host: GitHub
- URL: https://github.com/aturingmachine/jenkins-script
- Owner: aturingmachine
- Created: 2018-08-02T19:11:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-09T15:47:27.000Z (over 6 years ago)
- Last Synced: 2024-10-23T08:16:25.690Z (3 months ago)
- Language: Shell
- Size: 26.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Jenkins Script
## Install
Clone this repo to `~/jenkins`
`git clone [email protected]:aturingmachine/jenkins-script.git ~/jenkins`
Add an alias to your `.bashrc` or `.bash_profile`
`alias jenkins="~/jenkins/jenkins.sh"`
---
Running `jenkins` should then download the latest `.war` and start the jenkins server
Running it again will stop it.
If the `.war` is corrupt the script should redownload the `.war` and start jenkins.
## Usage
If you have made the alias you can simply run `jenkins`. Otherwise run `~/jenkins/jenkins.sh`
Adding the `-s` flag will tell you whether or not a Jenkins Server is running.
> This only checks if the Jenkins build downloaded by this script is running.
## Issues
If while waiting for an initial password the script hangs for an extended period of time, kill the script
and check the logs. It is possible the Jenkins server died quietly causing us to be unable to exit a loop.