-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-generate_script.yml
32 lines (32 loc) · 1.01 KB
/
example-generate_script.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
bitbucket:
host: bitbucket.jlloyd.io
project: PROJ
jenkins:
host: jenkins.jlloyd.io
inclusions:
# Specify an exact list of repos to execute operations against. If both
# inclusions and exclusions are provided, only the inclusions will be used.
- my-web-app
exclusions:
# Specify an exact list of repos to NOT execute operations against. If both
# inclusions and exclusions are provided, only the inclusions will be used.
- my-excluded-web-app
commands:
# Example: Generate a set of commands that can be used to clone all repos
# in a project, then perform a Maven build on the release branch. {url}
# will be subsituted by the clone URL and {repo} will be substituted by the
# repo name.
#
# Windows example:
- cd \Users\b#\repo
- git clone {url}
- cd \Users\b#\repo\{repo}
- git checkout release
- mvn clean package
#
# MacOS/Linux example:
- cd ~/software-development/repo
- git clone {url}
- cd ~/software-development/repo/{repo}
- git checkout release
- mvn clean package