versioning

This commit is contained in:
2025-12-14 23:33:15 -05:00
parent 0af9ac9c92
commit c8336b7a8d
2 changed files with 13 additions and 2 deletions

13
Jenkinsfile vendored
View File

@@ -10,7 +10,6 @@ pipeline {
VUE_CONTAINER_NAME = "chore-app-frontend"
FLASK_CONTAINER_NAME = "chore-app-backend"
NETWORK_NAME = "chore-app-net"
BASE_VERSION = '1.0.0'
}
stages {
@@ -20,6 +19,18 @@ pipeline {
checkout scm
}
}
stage('Set Version') {
steps {
script {
// Read BASE_VERSION from Python source
env.BASE_VERSION = sh(
script: "python -c \"import sys; from config.version import BASE_VERSION; print(BASE_VERSION)\"",
returnStdout: true
).trim()
echo "BASE_VERSION set to: ${env.BASE_VERSION}"
}
}
}
stage('Build Frontend (Vue) App') {
steps {