clean up JenkinsFile
Some checks failed
DEV-234/pipeline/head There was a failure building this commit
Some checks failed
DEV-234/pipeline/head There was a failure building this commit
This commit is contained in:
parent
745ab688a2
commit
df00b0020b
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -41,8 +41,6 @@ pipeline {
|
|||||||
sh """
|
sh """
|
||||||
echo 'testing'
|
echo 'testing'
|
||||||
pwd
|
pwd
|
||||||
cd /home/v/projects/p00003
|
|
||||||
pwd
|
|
||||||
ls
|
ls
|
||||||
podman-compose -f podman-compose.yml build
|
podman-compose -f podman-compose.yml build
|
||||||
podman-compose -f podman-compose.yml up --abort-on-container-exit
|
podman-compose -f podman-compose.yml up --abort-on-container-exit
|
||||||
@ -56,9 +54,8 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
// Deploy using Docker Compose
|
// Deploy using Docker Compose
|
||||||
sh """
|
sh """
|
||||||
#!/bin/bash
|
|
||||||
echo 'deploying'
|
echo 'deploying'
|
||||||
podman-compose up -d
|
podman-compose -f podman-compose.yml up -d
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -70,7 +67,7 @@ pipeline {
|
|||||||
// Clean up Docker containers and images
|
// Clean up Docker containers and images
|
||||||
sh """
|
sh """
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
podman-compose down
|
podman-compose -f podman-compose.yml down
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user