mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
Jenkins: Adapts stage names to cloudogu best practices
This commit is contained in:
parent
e410409931
commit
032c176eb2
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -41,14 +41,14 @@ node {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
stage('SonarQube Analysis') {
|
stage('Static Code Analysis') {
|
||||||
|
|
||||||
def sonarQube = new SonarQube(this, [usernamePassword: credentialsId, sonarHostUrl: "${cesUrl}/sonar"])
|
def sonarQube = new SonarQube(this, [usernamePassword: credentialsId, sonarHostUrl: "${cesUrl}/sonar"])
|
||||||
|
|
||||||
sonarQube.analyzeWith(mvn)
|
sonarQube.analyzeWith(mvn)
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Deploy Artifacts') {
|
stage('Deploy') {
|
||||||
mvn.useDeploymentRepository([id: cesFqdn, url: "${cesUrl}/nexus", credentialsId: credentialsId, type: 'Nexus3'])
|
mvn.useDeploymentRepository([id: cesFqdn, url: "${cesUrl}/nexus", credentialsId: credentialsId, type: 'Nexus3'])
|
||||||
|
|
||||||
mvn.deployToNexusRepository('-Dmaven.javadoc.failOnError=false')
|
mvn.deployToNexusRepository('-Dmaven.javadoc.failOnError=false')
|
||||||
|
|
Loading…
Reference in a new issue