-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
24 lines (23 loc) · 866 Bytes
/
Jenkinsfile
File metadata and controls
24 lines (23 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// ============================================================
// CI Job — runs on every push to java-selenium-testing.
// Builds the fat test JAR and archives it so deployment
// pipelines can download it without checking out this repo.
// ============================================================
pipeline {
agent any
stages {
stage('Build Test JAR') {
steps {
// Compile main + test sources, then assemble the fat JAR.
// -DskipTests skips Surefire so tests only run via the JAR.
sh 'mvn package -DskipTests'
}
post {
success {
// Archive as a reusable artifact for downstream jobs
archiveArtifacts artifacts: 'target/*-tests.jar', fingerprint: true
}
}
}
}
}