Use built-in node
All checks were successful
Amarillo/amarillo-gitea/amarillo-gtfs-export/pipeline/head This commit looks good
All checks were successful
Amarillo/amarillo-gitea/amarillo-gtfs-export/pipeline/head This commit looks good
This commit is contained in:
parent
1b6a86d5fd
commit
651b887d86
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent { label 'builtin' }
|
||||||
environment {
|
environment {
|
||||||
GITEA_CREDS = credentials('AMARILLO-JENKINS-GITEA-USER')
|
GITEA_CREDS = credentials('AMARILLO-JENKINS-GITEA-USER')
|
||||||
PYPI_CREDS = credentials('AMARILLO-JENKINS-PYPI-USER')
|
PYPI_CREDS = credentials('AMARILLO-JENKINS-PYPI-USER')
|
||||||
|
|
@ -9,7 +9,7 @@ pipeline {
|
||||||
stage('Create virtual environment') {
|
stage('Create virtual environment') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Creating virtual environment'
|
echo 'Creating virtual environment'
|
||||||
sh '''python -m venv .venv
|
sh '''python3 -m venv .venv
|
||||||
. .venv/bin/activate'''
|
. .venv/bin/activate'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue