We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb0035c commit 07211eaCopy full SHA for 07211ea
scripts/Jenkinsfiles/devstack_snapshot.sh
@@ -0,0 +1,6 @@
1
+#!/bin/bash
2
+
3
+virtualenv --python=python3.8 devstack_snapshot_venv -q
4
+source devstack_snapshot_venv/bin/activate
5
6
+python scripts/snapshot.py ../devstack_snapshot
scripts/Jenkinsfiles/snapshot
@@ -12,17 +12,12 @@ pipeline {
12
stages {
13
stage("Build installer") {
14
steps {
15
- withPythonEnv('System-CPython-2.7') {
16
- dir('devstack') {
17
sh 'make requirements'
18
sh 'make dev.clone.https'
19
sh 'make dev.pull'
20
sh 'make dev.provision'
21
- sh 'python scripts/snapshot.py ../devstack_snapshot'
22
- }
23
24
- archiveArtifacts 'devstack_snapshot/**/*'
25
+ sh 'bash devstack_snapshot.sh'
+ }
26
}
27
28
post {
0 commit comments