change things
Gitea/homepage/pipeline/head There was a failure building this commit

This commit is contained in:
Georgios Jason Efstathiou
2024-12-22 20:10:40 +01:00
parent 32d5ac9dec
commit d018bafc9d
Vendored
+5 -9
View File
@@ -1,18 +1,13 @@
node {
def app
pipeline {
agent any
stages {
stage('Clone repository') {
checkout scm
}
stage('Build image') {
app = docker.build("brandonjones085/test")
}
stage('Test image') {
app.inside {
sh 'echo "Tests passed"'
}
app = docker.build("efstajas/homepage")
}
stage('Push image') {
@@ -21,4 +16,5 @@ node {
app.push("latest")
}
}
}
}