diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2020-02-19 17:40:35 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2020-02-19 17:40:35 +0300 |
| commit | 025ee0a9cd5bd530ded5eaa719b64a3e95350840 (patch) | |
| tree | 36c42122cda4da6843e8e1a1424999a5bc013e2b | |
| download | majordomo-maintenance-025ee0a9cd5bd530ded5eaa719b64a3e95350840.tar.gz | |
Initial commit.
| -rw-r--r-- | Jenkinsfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..4443066 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +pipeline { + agent { label "master" } + triggers { + cron("H 15 * * 1-5") + } + stages { + stage("Invoking git clone") { + steps { + dir("/home/oleg/majordomo") { + sh 'for dir in */*; do git -C $dir pull --rebase; done' + } + } + } + } + post { + always { + sendNotifications currentBuild.result + } + } +} |
