Compare commits
2 Commits
f0df67fb86
...
7c1b8669c0
| Author | SHA1 | Date | |
|---|---|---|---|
| 7c1b8669c0 | |||
| 5f996e7007 |
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user