Jenkins: Adapts stage names to cloudogu best practices

This commit is contained in:
Johannes Schnatterer 2018-07-31 10:09:55 +02:00
parent e410409931
commit 032c176eb2

4
Jenkinsfile vendored
View file

@ -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')