Run ATH SmokeTest category on core builds
@@ -43,6 +43,8 @@ for(i = 0; i < buildTypes.size(); i++) {
if(isUnix()) {
sh mvnCmd
sh 'test `git status --short | tee /dev/stderr | wc --bytes` -eq 0'
+ // Stash for ATH run
+ stash name: "metadata", includes: "essentials.yml"
} else {
bat mvnCmd
}
@@ -69,6 +71,18 @@ for(i = 0; i < buildTypes.size(); i++) {
builds.failFast = failFast
parallel builds
+if (buildTypes.contains("linux")) {
+ node("linux") {
+ unstash "metadata"
+ unarchive mapping: ['war/target/linux-jenkins.war': 'jenkins.war']
+ def fileUrl = "file://" + pwd() + "/jenkins.war"
+ def metadataPath = pwd() + "/essentials.yml"
+ dir("ath") {
+ runATH(jenkins: fileUrl, metadataFile: metadataPath)
+ }
+ }
+}
+
// This method sets up the Maven and JDK tools, puts them in the environment along
// with whatever other arbitrary environment variables we passed in, and runs the
// body we passed in within that environment.
