Commit 97de9268 authored by Matija Obreza's avatar Matija Obreza

CI updated for gpg signing and refreshing snapshot dependencies

parent 800e6382
...@@ -7,7 +7,7 @@ run tests in branches: ...@@ -7,7 +7,7 @@ run tests in branches:
image: maven:3-jdk-8 image: maven:3-jdk-8
script: script:
- echo "Using username ${GLIS_USERNAME} for authentication against https://glistest.planttreaty.org" - echo "Using username ${GLIS_USERNAME} for authentication against https://glistest.planttreaty.org"
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B -DskipTests=false - MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B -U -DskipTests=false
except: except:
- master - master
- tags - tags
...@@ -20,7 +20,7 @@ publish snapshot artifacts: ...@@ -20,7 +20,7 @@ publish snapshot artifacts:
- gpg --list-keys - gpg --list-keys
script: script:
- echo "Using username ${GLIS_USERNAME} for authentication against https://glistest.planttreaty.org" - echo "Using username ${GLIS_USERNAME} for authentication against https://glistest.planttreaty.org"
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn clean deploy --settings .ci-maven-settings.xml -B -U -DskipTests=false - MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn clean deploy -B -U --settings .ci-maven-settings.xml -B -U -DskipTests=false
only: only:
- master - master
......
...@@ -119,6 +119,13 @@ ...@@ -119,6 +119,13 @@
<goals> <goals>
<goal>sign</goal> <goal>sign</goal>
</goals> </goals>
<!-- gpg: signing failed: No such file or directory -->
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment