This commit is contained in:
parent
d1e74411ad
commit
36f23ec381
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -19,25 +19,16 @@ pipeline {
|
|||||||
stage('Build Node.js') {
|
stage('Build Node.js') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
// Build Node.js application
|
|
||||||
echo 'step 1 - build reflex-react UI'
|
echo 'Start run'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build Django') {
|
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
// Build Django application
|
|
||||||
echo 'step-1 build django-api'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
// Run tests using Docker Compose
|
|
||||||
sh """
|
sh """
|
||||||
echo 'testing'
|
echo 'testing'
|
||||||
pwd
|
pwd
|
||||||
@ -63,10 +54,10 @@ pipeline {
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
// Clean up Docker containers and images
|
|
||||||
sh """
|
sh """
|
||||||
#!/bin/bash
|
echo 'End of run.'
|
||||||
podman-compose -f podman-compose.yml down
|
podman ps
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user