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