2 Commits

Author SHA1 Message Date
7c1b8669c0 Merge branch 'development' of ssh://gitea.innovation-hub-niedersachsen.de:4422/innohub/tatort into development
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit was not built
2025-07-04 10:11:46 +02:00
5f996e7007 added sonar to pipeline 2025-07-04 10:09:06 +02:00

13
Jenkinsfile vendored
View File

@@ -1,6 +1,7 @@
/* groovylint-disable-next-line UnusedVariable */
@Library('InnoHub-Library') _
def didRun = false
Boolean didRun = false
pipeline {
agent any
@@ -33,7 +34,7 @@ pipeline {
stage('Validate Repository') {
steps {
script {
checkRepoName(params.REPO_NAME, true) //@jared: The "true" means, do not build PR's!
checkRepoName(params.REPO_NAME, true)
}
}
}
@@ -57,6 +58,14 @@ pipeline {
}
}
stage('SonarQube Analysis') {
steps {
withSonarQubeEnv('sonarqube') {
sh 'sonar-scanner -Dsonar.projectKey=tatort -Dsonar.sources=src'
}
}
}
stage('Push image to gitea registry') {
when {
branch 'development'