File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
releng/org.eclipse.cdt.lsp.repository Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,20 @@ pipeline {
34
34
container(' cdt' ) {
35
35
timeout(activity : true , time : 20 ) {
36
36
withEnv([' MAVEN_OPTS=-XX:MaxRAMPercentage=60.0' ]) {
37
+ withCredentials([string(credentialsId : ' gpg-passphrase' , variable : ' KEYRING_PASSPHRASE' )]) {
37
38
sh '''
38
39
export PATH=$PWD/clangd_15.0.6/bin:$PATH
39
40
which clangd
40
41
clangd --version
41
42
/jipp/tools/apache-maven/latest/bin/mvn \
42
43
clean verify -B -V -X -e \
43
44
-Dmaven.test.failure.ignore=true \
45
+ -Dgpg.passphrase="${KEYRING_PASSPHRASE}" \
44
46
-P production \
45
47
-Dmaven.repo.local=/home/jenkins/.m2/repository \
46
48
--settings /home/jenkins/.m2/settings.xml \
47
49
'''
50
+ }
48
51
}
49
52
}
50
53
}
Original file line number Diff line number Diff line change 37
37
<artifactId >tycho-p2-director-plugin</artifactId >
38
38
<version >${tycho.version} </version >
39
39
</plugin >
40
+ <plugin >
41
+ <groupId >org.eclipse.tycho</groupId >
42
+ <artifactId >tycho-gpg-plugin</artifactId >
43
+ <version >${tycho.version} </version >
44
+ <executions >
45
+ <execution >
46
+ <id >pgpsigner</id >
47
+ <goals >
48
+ <goal >sign-p2-artifacts</goal >
49
+ </goals >
50
+ <configuration >
51
+ <keyname >4F23165B6AC51B15</keyname >
52
+ <skipIfJarsigned >false</skipIfJarsigned >
53
+ </configuration >
54
+ </execution >
55
+ </executions >
56
+ </plugin >
40
57
<plugin >
41
58
<groupId >org.eclipse.tycho</groupId >
42
59
<artifactId >tycho-surefire-plugin</artifactId >
Original file line number Diff line number Diff line change 28
28
<build >
29
29
<finalName >${project.artifactId} </finalName >
30
30
</build >
31
+ <profiles >
32
+ <profile >
33
+ <id >production</id >
34
+ <build >
35
+ <plugins >
36
+ <plugin >
37
+ <groupId >org.eclipse.tycho</groupId >
38
+ <artifactId >tycho-gpg-plugin</artifactId >
39
+ </plugin >
40
+ </plugins >
41
+ </build >
42
+ </profile >
43
+ </profiles >
31
44
</project >
You can’t perform that action at this time.
0 commit comments