This commit is contained in:
parent
7ac5e4207d
commit
85704ec7b9
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -4,7 +4,8 @@ pipeline {
|
|||||||
environment {
|
environment {
|
||||||
DOCKER_IMAGE_PGADMIN = 'dpage/pgadmin4:latest'
|
DOCKER_IMAGE_PGADMIN = 'dpage/pgadmin4:latest'
|
||||||
DOCKER_IMAGE_POSTGRES = 'postgres:16.6'
|
DOCKER_IMAGE_POSTGRES = 'postgres:16.6'
|
||||||
DOCKER_COMPOSE_FILE = '/home/v/projects/p00003/podman-compose.yml'
|
PODMAN_COMPOSE_PATH = '/home/v/projects/p00003/'
|
||||||
|
DOCKER_COMPOSE_FILE = 'podman-compose.yml'
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
@ -38,9 +39,9 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
// Run tests using Docker Compose
|
// Run tests using Docker Compose
|
||||||
sh """
|
sh """
|
||||||
#!/bin/bash
|
|
||||||
echo 'testing'
|
echo 'testing'
|
||||||
podman-compose up
|
podman-compose -f ${PODMAN_COMPOSE_PATH}${PODMAN_COMPOSE_FILE} build
|
||||||
|
podman-compose -f ${PODMAN_COMPOSE_PATH}${PODMAN_COMPOSE_FILE} up --abort-on-container-exit
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user