aboutsummaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorMax Nanis2026-08-18 13:14:45 -0700
committerMax Nanis2026-08-18 13:14:45 -0700
commit6b4f8d6b8700a65bdf74beb3d95c969a81464a56 (patch)
tree09c0b32c8915f4ffa5c5e02222c49cbf591f8588 /Jenkinsfile
parentc6f7ad8baaa8e0e22dfcefc763f4065faf6de507 (diff)
downloadgeneralresearch-6b4f8d6b8700a65bdf74beb3d95c969a81464a56.tar.gz
generalresearch-6b4f8d6b8700a65bdf74beb3d95c969a81464a56.zip
build ignore, py-utils replace, typing with Ruff
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile24
1 files changed, 12 insertions, 12 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 05c4617..a684caf 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -11,7 +11,7 @@ pipeline {
}
environment {
- VENV = "${env.WORKSPACE}/py-utils-venv"
+ VENV = "${env.WORKSPACE}/generalresearch-venv"
SPECTRUM_CARER_VENV = "${env.WORKSPACE}/thl-spectrum-carer-venv"
GRLIQ_CARER_VENV = "${env.WORKSPACE}/grliq-carer-venv"
GR_CARER_VENV = "${env.WORKSPACE}/gr-carer-venv"
@@ -26,7 +26,7 @@ pipeline {
axes {
axis {
name 'PYTHON_VERSION'
- values 'python3.13', 'python3.12', 'python3.11', 'python3.10'
+ values 'python3.14' 'python3.13', 'python3.12', 'python3.11', 'python3.10'
}
}
@@ -99,13 +99,13 @@ pipeline {
sh 'pwd -P'
}
- dir("py-utils:$PYTHON_VERSION/") {
+ dir("generalresearch:$PYTHON_VERSION/") {
checkout scmGit(
branches: [[name: env.BRANCH_NAME]],
extensions: [ cloneOption(shallow: true) ],
userRemoteConfigs: [
[credentialsId: 'abdeb570-b708-44f3-b857-8a6b06ed9822',
- url: 'ssh://code.g-r-l.com:6611/py-utils']
+ url: 'ssh://code.g-r-l.com:6611/generalresearch']
],
)
}
@@ -147,7 +147,7 @@ pipeline {
stage('Env & Migration') {
steps {
- dir("py-utils:$PYTHON_VERSION/") {
+ dir("generalresearch:$PYTHON_VERSION/") {
sh "/usr/local/bin/$PYTHON_VERSION -m venv $VENV-$PYTHON_VERSION"
sh "$VENV-$PYTHON_VERSION/bin/pip install -U setuptools wheel pip"
sh "$VENV-$PYTHON_VERSION/bin/pip install -r requirements.txt"
@@ -205,7 +205,7 @@ pipeline {
expression { return true }
}
steps {
- dir("py-utils:$PYTHON_VERSION") {
+ dir("generalresearch:$PYTHON_VERSION") {
sh "$VENV-$PYTHON_VERSION/bin/pytest -v tests/sql_helper.py"
}
}
@@ -216,7 +216,7 @@ pipeline {
expression { return true }
}
steps {
- dir("py-utils:$PYTHON_VERSION") {
+ dir("generalresearch:$PYTHON_VERSION") {
sh "$VENV-$PYTHON_VERSION/bin/pytest -v tests/models"
}
}
@@ -224,7 +224,7 @@ pipeline {
stage('managers') {
steps {
- dir("py-utils:$PYTHON_VERSION") {
+ dir("generalresearch:$PYTHON_VERSION") {
sh "$VENV-$PYTHON_VERSION/bin/pytest -v tests/managers"
}
}
@@ -232,7 +232,7 @@ pipeline {
stage('wall_status_codes') {
steps {
- dir("py-utils:$PYTHON_VERSION") {
+ dir("generalresearch:$PYTHON_VERSION") {
sh "$VENV-$PYTHON_VERSION/bin/pytest -v tests/wall_status_codes"
}
}
@@ -240,7 +240,7 @@ pipeline {
stage('wxet') {
steps {
- dir("py-utils:$PYTHON_VERSION") {
+ dir("generalresearch:$PYTHON_VERSION") {
sh "$VENV-$PYTHON_VERSION/bin/pytest -v tests/wxet"
}
}
@@ -248,7 +248,7 @@ pipeline {
stage('grliq') {
steps {
- dir("py-utils:$PYTHON_VERSION") {
+ dir("generalresearch:$PYTHON_VERSION") {
sh "$VENV-$PYTHON_VERSION/bin/pytest -v tests/grliq"
}
}
@@ -256,7 +256,7 @@ pipeline {
stage('incite') {
steps {
- dir("py-utils:$PYTHON_VERSION") {
+ dir("generalresearch:$PYTHON_VERSION") {
sh "$VENV-$PYTHON_VERSION/bin/pytest -v tests/incite"
}
}