11 Commits

Author SHA1 Message Date
addcc26a07 Merge branch 'development' into f034_sqlite_database
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
2025-07-23 12:55:20 +02:00
b2f624a7d1 Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit was not built
2025-07-16 09:54:56 +02:00
a7527ccf22 Update Jenkinsfile
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
2025-07-16 09:40:46 +02:00
6786f768f0 Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
2025-07-15 12:07:53 +02:00
552350354b Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
2025-07-15 11:54:50 +02:00
d9bcad9f77 Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
2025-07-15 11:42:23 +02:00
4633769366 Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
2025-07-15 11:28:34 +02:00
2444349694 Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
2025-07-15 11:08:26 +02:00
c5202bb757 Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
2025-07-15 10:53:14 +02:00
73c551c9de Update Jenkinsfile
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
2025-07-15 10:49:51 +02:00
51af112610 Update Jenkinsfile
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
2025-07-15 10:24:50 +02:00

44
Jenkinsfile vendored
View File

@@ -1,7 +1,8 @@
/* groovylint-disable-next-line UnusedVariable */
@Library('InnoHub-Library') _
Boolean didRun = false
def didRun = false
def versionTag = 'null'
pipeline {
agent any
@@ -31,6 +32,14 @@ pipeline {
}
stages {
stage('Set Version Tag') {
steps {
script {
versionTag = generateVersionTag(params.GIT_REF)
echo "[INFO] Using VERSION_TAG: ${versionTag}"
}
}
}
stage('Validate Repository') {
steps {
script {
@@ -72,11 +81,36 @@ pipeline {
}
steps {
script {
didRun = true
def tag = "innohub/tatort-dev:0.${env.BUILD_ID}"
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', 'JenkinsGitea') {
docker.build(tag, '-f Dockerfile.dev .').push('latest')
def imageName = "gitea.innovation-hub-niedersachsen.de/innohub/tatort-dev"
docker.withRegistry(REGISTRY, 'JenkinsGitea') {
def img = docker.build("${imageName}:${versionTag}", '-f Dockerfile.dev .')
img.push()
img.push('latest')
}
didRun = true
}
}
}
stage('Update Helm Chart Repository') {
when {
branch 'development'
}
steps {
script {
updateHelmChart([
tag: versionTag,
repoUrl: 'gitea.innovation-hub-niedersachsen.de/innohub/charts.git',
chartPath: 'tatort-dev/tatort',
chartName: 'tatort',
imageRepo: 'gitea.innovation-hub-niedersachsen.de/innohub/tatort-dev',
credentialsId: 'JenkinsGitea',
branch: 'main'
])
didRun = true
}
}
}