forked from agiledigital/httpd-redirect
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
31 lines (23 loc) · 724 Bytes
/
Jenkinsfile
File metadata and controls
31 lines (23 loc) · 724 Bytes
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
/*
Build and deploy from a regular docker image.
*/
// 'defaults' override the auto-generated values. Uncomment items to change the default value:
def defaults = [:]
// defaults.product = '' // Default: The Jenkins job folder name
// defaults.function = '' // Default: The Jenkins job project name
defaults.project = 'common' // Default: '<product>-<zone>'
// defaults.zone = '' // Default: 'private'
// defaults.projectDesc = '' // Default: The Jenkins job folder description
// defaults.appDesc = '' // Default: ''
def config
stage("Parse config") {
config = createApplicationContext(defaults)
}
stage("Build image") {
buildImage(config)
}
/* TODO:
stage("Unit tests") {
}
*/
milestone 1