This commit is contained in:
parent
7ac5e4207d
commit
85704ec7b9
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -4,7 +4,8 @@ pipeline {
|
||||
environment {
|
||||
DOCKER_IMAGE_PGADMIN = 'dpage/pgadmin4:latest'
|
||||
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 {
|
||||
@ -38,9 +39,9 @@ pipeline {
|
||||
script {
|
||||
// Run tests using Docker Compose
|
||||
sh """
|
||||
#!/bin/bash
|
||||
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