File tree 3 files changed +1
-7
lines changed 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ pipeline {
84
84
withCredentials([file(credentialsId : ' release.gpg.private-key' , variable : ' RELEASE_GPG_PRIVATE_KEY_PATH' ),
85
85
string(credentialsId : ' release.gpg.passphrase' , variable : ' MAVEN_GPG_PASSPHRASE' )]) {
86
86
sshagent([' ed25519.Hibernate-CI.github.com' , ' hibernate.filemgmt.jboss.org' , ' hibernate-ci.frs.sourceforge.net' ]) {
87
- sh ' export MAVEN_LOCAL_REPOSITORY=' + env. WORKSPACE_TMP + ' /.m2repository'
88
87
sh ' cat $HOME/.ssh/config'
89
88
sh ' git clone https://github.com/hibernate/hibernate-release-scripts.git'
90
89
env. RELEASE_GPG_HOMEDIR = env. WORKSPACE_TMP + ' /.gpg'
Original file line number Diff line number Diff line change 42
42
<deploy .skip>false</deploy .skip>
43
43
44
44
<gradle .executable>./gradlew</gradle .executable>
45
- <gradle .maven.local.path>${user.home} /.m2/repository</gradle .maven.local.path>
46
45
</properties >
47
46
48
47
<dependencies >
68
67
<argument >clean</argument >
69
68
<argument >build</argument >
70
69
<argument >-Pversion=${project.version} </argument >
71
- <argument >-Dmaven.repo.local=${gradle.maven.local.path } </argument >
70
+ <argument >-Dmaven.repo.local=${settings.localRepository } </argument >
72
71
</arguments >
73
72
</configuration >
74
73
<goals >
Original file line number Diff line number Diff line change 402
402
<value >true</value >
403
403
</property >
404
404
</activation >
405
- <properties >
406
- <!-- The MAVEN_LOCAL_REPOSITORY env variable is set in the release Jenkins file -->
407
- <gradle .maven.local.path>${MAVEN_LOCAL_REPOSITORY} </gradle .maven.local.path>
408
- </properties >
409
405
<build >
410
406
<plugins >
411
407
<plugin >
You can’t perform that action at this time.
0 commit comments