-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6574683
commit dd0347f
Showing
354 changed files
with
22,503 additions
and
22,996 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
|
||
.idea/ | ||
target/ | ||
gradle/ | ||
|
||
*.iml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
pipeline { | ||
|
||
agent none | ||
|
||
stages { | ||
|
||
stage('Compile') { | ||
agent { | ||
label 'p4java' | ||
} | ||
steps { | ||
sh './gradlew clean assemble' | ||
|
||
} | ||
} | ||
|
||
stage('Verification') { | ||
parallel { | ||
|
||
stage('ubuntu') { | ||
agent { | ||
label 'p4java' | ||
} | ||
stages { | ||
stage('Test') { | ||
steps { | ||
lock("eng-p4java-vm_lock") { | ||
sh './gradlew clean build' | ||
|
||
} | ||
} | ||
} | ||
} | ||
post { | ||
always { | ||
report('UbuntuTestReport') | ||
|
||
} | ||
} | ||
} | ||
|
||
stage('win') { | ||
agent { | ||
label 'p4java-win' | ||
} | ||
stages { | ||
stage('Test') { | ||
steps { | ||
lock("eng-p4java-vm_lock") { | ||
bat label: '', script: 'gradlew clean build' | ||
|
||
} | ||
} | ||
} | ||
} | ||
post { | ||
always { | ||
report('WindowsTestReport') | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
stage('Launch system tests') { | ||
steps { | ||
build job: '/p4java-system-tests/main', wait: false | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
||
void report(String name) { | ||
publishHTML target: [ | ||
allowMissing : false, | ||
alwaysLinkToLastBuild: true, | ||
keepAll : true, | ||
reportDir : 'build/reports/tests/test/', | ||
reportFiles : 'index.html', | ||
reportName : name | ||
] | ||
} |
Oops, something went wrong.