-
Notifications
You must be signed in to change notification settings - Fork 17
/
Jenkinsfile
47 lines (44 loc) · 911 Bytes
/
Jenkinsfile
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@Library('asdf_common') _
def BUILDS = [
'linux/64/shared',
'windows/64/shared',
// 'windows/64/shared-fat',
'windows/64/static',
'windows/32/shared',
// 'windows/32/shared-fat',
'windows/32/static'
]
def BASE_URL = 'ssh://git@stash.strozfriedberg.com/asdf'
def DOWNSTREAM_REPOS = [
'hasher',
'lightgrep',
'lightgrep-java',
'bulk_extractor'
]
def UPSTREAM_REPOS = [['icu', 'master']]
pipeline {
agent none
stages {
stage('Handle Upstream Trigger') {
steps {
script {
common.HandleUpstreamTrigger(env, params, BASE_URL, UPSTREAM_REPOS)
}
}
}
stage('Build') {
steps {
script {
parallel common.makeConfigurations(scm, BUILDS)
}
}
}
stage('Trigger Downstream') {
steps {
script {
common.TriggerDownstream(env, BASE_URL, DOWNSTREAM_REPOS)
}
}
}
}
}