forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsnapshot
More file actions
33 lines (33 loc) · 851 Bytes
/
snapshot
File metadata and controls
33 lines (33 loc) · 851 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
32
33
pipeline {
agent { label "devstack-worker" }
environment {
COMPOSE_HTTP_TIMEOUT = '120'
DOCKER_CLIENT_TIMEOUT = '120'
USE_TTY = 'false'
}
options {
timestamps()
timeout(120)
}
stages {
stage("Build installer") {
steps {
withPythonEnv('System-CPython-2.7') {
dir('devstack') {
sh 'make requirements'
sh 'make dev.clone'
sh 'make dev.pull'
sh 'make dev.provision'
sh 'python scripts/snapshot.py ../devstack_snapshot'
}
}
archiveArtifacts 'devstack_snapshot/**/*'
}
}
}
post {
always {
cleanWs()
}
}
}