This commit is contained in:
Grahame Grieve 2021-10-13 06:08:31 +11:00
commit 46b500d1a9
2 changed files with 13 additions and 5 deletions

View File

@ -6,7 +6,7 @@ trigger:
- master - master
pool: pool:
vmImage: "ubuntu-16.04" vmImage: "ubuntu-20.04"
variables: variables:
- group: PGP_VAR_GROUP - group: PGP_VAR_GROUP

16
pom.xml
View File

@ -400,8 +400,12 @@
<goal>sign</goal> <goal>sign</goal>
</goals> </goals>
<configuration> <configuration>
<keyname>${gpg.keyname}</keyname> <keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId> <passphraseServerId>${gpg.keyname}</passphraseServerId>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
@ -452,8 +456,12 @@
<goal>sign</goal> <goal>sign</goal>
</goals> </goals>
<configuration> <configuration>
<keyname>${gpg.keyname}</keyname> <keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId> <passphraseServerId>${gpg.keyname}</passphraseServerId>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>