Skip to content

Commit

Permalink
Merge pull request #3350 from daniel-beck/JENKINS-49269-2
Browse files Browse the repository at this point in the history
[JENKINS-49269] Add ATH SmokeTest runs to the core build
  • Loading branch information
R. Tyler Croy committed Mar 21, 2018
2 parents ca61ed7 + 198850a commit 3b5c715
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Jenkinsfile
Expand Up @@ -66,6 +66,29 @@ for(i = 0; i < buildTypes.size(); i++) {
}
}

builds.ath = {
node("linux") {
// Just to be safe
deleteDir()
def fileUri
def metadataPath
dir("sources") {
checkout scm
withMavenEnv(["JAVA_OPTS=-Xmx1536m -Xms512m",
"MAVEN_OPTS=-Xmx1536m -Xms512m"]) {
sh "mvn -DskipTests -am -pl war package -Dmaven.repo.local=${pwd tmp: true}/m2repo -s settings-azure.xml"
}
dir("war/target") {
fileUri = "file://" + pwd() + "/jenkins.war"
}
metadataPath = pwd() + "/essentials.yml"
}
dir("ath") {
runATH jenkins: fileUri, metadataFile: metadataPath
}
}
}

builds.failFast = failFast
parallel builds

Expand Down
4 changes: 4 additions & 0 deletions essentials.yml
@@ -0,0 +1,4 @@
---
ath:
useLocalSnapshots: false
athRevision: "06caf67d37d945ec5228a80d73714fac692c28d3"

0 comments on commit 3b5c715

Please sign in to comment.