Skip to content

Commit dd0347f

Browse files
committed
2022.1 code drop.
1 parent 6574683 commit dd0347f

354 files changed

Lines changed: 22503 additions & 22996 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
.idea/
55
target/
6+
gradle/
67

78
*.iml
89

.p4ignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.gitattributes
22
.idea/
3+
build/
4+
.gradle/
35
*.class
46

57
# Package Files #
@@ -22,6 +24,7 @@ target/
2224
*.iml
2325

2426
.p4config
27+
.p4tickets
2528
.gitignore
2629
.DS_Store
2730
*.versionsBackup

Jenkinsfile

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
pipeline {
2+
3+
agent none
4+
5+
stages {
6+
7+
stage('Compile') {
8+
agent {
9+
label 'p4java'
10+
}
11+
steps {
12+
sh './gradlew clean assemble'
13+
14+
}
15+
}
16+
17+
stage('Verification') {
18+
parallel {
19+
20+
stage('ubuntu') {
21+
agent {
22+
label 'p4java'
23+
}
24+
stages {
25+
stage('Test') {
26+
steps {
27+
lock("eng-p4java-vm_lock") {
28+
sh './gradlew clean build'
29+
30+
}
31+
}
32+
}
33+
}
34+
post {
35+
always {
36+
report('UbuntuTestReport')
37+
38+
}
39+
}
40+
}
41+
42+
stage('win') {
43+
agent {
44+
label 'p4java-win'
45+
}
46+
stages {
47+
stage('Test') {
48+
steps {
49+
lock("eng-p4java-vm_lock") {
50+
bat label: '', script: 'gradlew clean build'
51+
52+
}
53+
}
54+
}
55+
}
56+
post {
57+
always {
58+
report('WindowsTestReport')
59+
}
60+
}
61+
}
62+
}
63+
}
64+
65+
stage('Launch system tests') {
66+
steps {
67+
build job: '/p4java-system-tests/main', wait: false
68+
}
69+
}
70+
}
71+
}
72+
73+
74+
void report(String name) {
75+
publishHTML target: [
76+
allowMissing : false,
77+
alwaysLinkToLastBuild: true,
78+
keepAll : true,
79+
reportDir : 'build/reports/tests/test/',
80+
reportFiles : 'index.html',
81+
reportName : name
82+
]
83+
}

0 commit comments

Comments
 (0)