testing jenkinsfile
HomeLab/Gitea HomeLab/pipeline/head There was a failure building this commit

This commit is contained in:
2026-05-02 14:03:34 +10:00
parent 3ce3705d32
commit a495c52fc5
2 changed files with 39 additions and 23 deletions
+27
View File
@@ -0,0 +1,27 @@
pipeline {
agent any
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Build') {
steps {
// Add build commands here, e.g., sh 'make build'
sh 'echo "Building project..."'
}
}
stage('Test') {
steps {
// Add test commands here
sh 'echo "Running tests..."'
}
}
}
post {
failure {
echo 'The build failed.'
}
}
}