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
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -41,8 +41,6 @@ pipeline {
|
||||
sh """
|
||||
echo 'testing'
|
||||
pwd
|
||||
cd /home/v/projects/p00003
|
||||
pwd
|
||||
ls
|
||||
podman-compose -f podman-compose.yml build
|
||||
podman-compose -f podman-compose.yml up --abort-on-container-exit
|
||||
@ -56,9 +54,8 @@ pipeline {
|
||||
script {
|
||||
// Deploy using Docker Compose
|
||||
sh """
|
||||
#!/bin/bash
|
||||
echo 'deploying'
|
||||
podman-compose up -d
|
||||
podman-compose -f podman-compose.yml up -d
|
||||
"""
|
||||
}
|
||||
}
|
||||
@ -70,8 +67,8 @@ pipeline {
|
||||
// Clean up Docker containers and images
|
||||
sh """
|
||||
#!/bin/bash
|
||||
podman-compose down
|
||||
podman-compose -f podman-compose.yml down
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user