Skip to content

Commit c5c83b3

Browse files
committed
Testing Jenkins build
1 parent dfe870a commit c5c83b3

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

jenkins/stil-nightly

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,13 @@ pipeline {
1818

1919
stage('Install') {
2020
steps {
21-
withEnv(['PATH+LOCALBIN=/usr/local/bin:/var/lib/jenkins/.local/bin']) {
22-
sh "redis-server --version"
23-
sh "cs channel --add https://raw.githubusercontent.com/tmtsoftware/osw-apps/branch-6.0.x/apps.json"
24-
sh "rm -rf .venv"
25-
sh "python3.13 -m pip install --upgrade pip"
26-
sh "python3.13 -m pip install pipenv"
27-
}
21+
sh "scripts/install_python.sh"
2822
}
2923
}
3024

3125
stage('Tests') {
3226
steps {
33-
withEnv(['PATH+LOCALBIN=/usr/local/bin:/var/lib/jenkins/.local/bin']) {
34-
sh "AAS_INTERFACE_NAME=lo INTERFACE_NAME=lo make test"
35-
}
27+
sh "AAS_INTERFACE_NAME=lo INTERFACE_NAME=lo make test"
3628
}
3729
}
3830
}

scripts/install_python.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
test -d $HOME/.pyenv && exit 0
4+
curl https://pyenv.run | bash
5+
pyenv install -v 3.13.3

0 commit comments

Comments
 (0)