diff options
| author | Max Nanis | 2026-08-30 22:29:36 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-08-30 22:29:36 -0700 |
| commit | 4e5d454ab6c90d1a6c3e42250e9b5dfbae58c4a2 (patch) | |
| tree | 96712bf2197e14e4618899157d2aebe66b7a9805 /Jenkinsfile | |
| parent | 89e88d7695044785470824dee839fd3cd6bd5ddf (diff) | |
| download | generalresearch-4e5d454ab6c90d1a6c3e42250e9b5dfbae58c4a2.tar.gz generalresearch-4e5d454ab6c90d1a6c3e42250e9b5dfbae58c4a2.zip | |
jenkins p2
Diffstat (limited to 'Jenkinsfile')
| -rw-r--r-- | Jenkinsfile | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index d3bc039..8c03490 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,4 @@ pipeline { - agent any - triggers { cron('H */12 * * *') pollSCM('H */6 * * *') @@ -21,21 +19,17 @@ pipeline { axes { axis { name 'PYTHON_VERSION' - values 'python3.14' 'python3.13', 'python3.12', 'python3.11' + values 'python3.14', 'python3.13', 'python3.12', 'python3.11' } } stages { stage('Setup') { + agent { label 'any' } steps { cleanWs() - - dir('tmp') { - sh 'pwd -P' - } - - dir("generalresearch:$PYTHON_VERSION/") { + dir("generalresearch/$PYTHON_VERSION/") { checkout scmGit( branches: [[name: env.BRANCH_NAME]], extensions: [ cloneOption(shallow: true) ], @@ -44,7 +38,6 @@ pipeline { url: 'ssh://code.g-r-l.com:6611/generalresearch'] ], ) - 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" @@ -55,7 +48,7 @@ pipeline { stage('base') { steps { - dir("generalresearch:$PYTHON_VERSION") { + dir("generalresearch/$PYTHON_VERSION/") { sh "$VENV-$PYTHON_VERSION/bin/pytest tests/models/gr/test_base.py -vs" } } |
