Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions jenkins/jobs/dsl/java_reference_application_jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@ buildAppJob.with {
}
}
steps {
maven {
goals('clean install -DskipTests')
mavenInstallation("ADOP Maven")
}
shell('''./mvnw clean install -DskipTests''')
}
publishers {
archiveArtifacts("**/*")
Expand Down Expand Up @@ -107,10 +104,7 @@ unitTestJob.with {
buildNumber('${B}')
}
}
maven {
goals('clean test')
mavenInstallation("ADOP Maven")
}
shell('''./mvnw clean test''')
}
publishers {
archiveArtifacts("**/*")
Expand Down Expand Up @@ -304,10 +298,7 @@ regressionTestJob.with {
environmentVariables {
propertiesFile('env.properties')
}
maven {
goals('clean -B test -DPETCLINIC_URL=${APP_URL} -DZAP_IP=${ZAP_IP} -DZAP_PORT=${ZAP_PORT} -DZAP_ENABLED=${ZAP_ENABLED}')
mavenInstallation("ADOP Maven")
}
shell('''./mvnw clean -B test -DPETCLINIC_URL=${APP_URL} -DZAP_IP=${ZAP_IP} -DZAP_PORT=${ZAP_PORT} -DZAP_ENABLED=${ZAP_ENABLED}''')
shell('''
|echo "Stopping OWASP ZAP Proxy and generating report."
|docker stop ${CONTAINER_NAME}
Expand Down Expand Up @@ -410,10 +401,7 @@ performanceTestJob.with {
|sed -i "s/###TOKEN_RESPONSE_TIME###/10000/g" ${WORKSPACE}/src/test/scala/default/RecordedSimulation.scala
|'''.stripMargin()
)
maven {
goals('gatling:execute')
mavenInstallation('ADOP Maven')
}
shell('''./mvnw gatling:execute''')
}
publishers {
publishHtml {
Expand Down