Skip to content

Commit 07211ea

Browse files
chore: Upgrade build jenkins jobs to Python 3.8 (#871)
1 parent cb0035c commit 07211ea

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -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

+2-7
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,12 @@ pipeline {
1212
stages {
1313
stage("Build installer") {
1414
steps {
15-
withPythonEnv('System-CPython-2.7') {
16-
dir('devstack') {
1715
sh 'make requirements'
1816
sh 'make dev.clone.https'
1917
sh 'make dev.pull'
2018
sh 'make dev.provision'
21-
sh 'python scripts/snapshot.py ../devstack_snapshot'
22-
}
23-
}
24-
archiveArtifacts 'devstack_snapshot/**/*'
25-
}
19+
sh 'bash devstack_snapshot.sh'
20+
}
2621
}
2722
}
2823
post {

0 commit comments

Comments
 (0)