Make sh files in project root executable, add jenkinsfile.
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good

This commit is contained in:
Marcus Handte
2025-12-18 13:49:38 +01:00
parent 49192e9a3b
commit 11fe7fe5dd
3 changed files with 26 additions and 0 deletions
Vendored
+26
View File
@@ -0,0 +1,26 @@
#!groovy
// this groovy script is executed by jenkins
node('built-in') {
// checkout code from scm
stage('Checkout') {
checkout scm
}
// build the source code with build number
stage('Build') {
sh(script: './docker-build.sh')
}
// deploy the build output on the server
stage ('Deploy') {
if (env.BRANCH_NAME == "deploy") {
} else {
echo "Skipping deployment for non-deploy branch."
}
}
}
Regular → Executable
View File
Regular → Executable
View File