Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dlespiau/jenkins-scripts-patchwork
https://github.com/dlespiau/jenkins-scripts-patchwork
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dlespiau/jenkins-scripts-patchwork
- Owner: dlespiau
- Created: 2015-08-19T15:35:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-04T23:24:36.000Z (almost 9 years ago)
- Last Synced: 2023-03-23T17:29:58.028Z (over 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Jenkins Patchwork Scripts
=========================This repository contains Jenkins scripts used to monitor the health of
[patchwork](http://jk.ozlabs.org/projects/patchwork/)Installation
------------One of the design goals is to have a minimal script specified in Jenkins and
most of the code maintained in this repository. The jenkins side should also be
able to automatically update these scripts without human intervention.
Something like the below should do:```shell
update_tree()
{
directory=$1
git_url=$2[ -d "$directory" ] && {
cd "$directory"
git fetch
git reset --hard origin/master
cd -
return 0
}git clone $git_url "$directory"
}dir=.jenkins_scripts
update_tree $dir git://github.com/dlespiau/jenkins-scripts-patchwork.git
./$dir/run.sh```