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:
image: maven:3-jdk-8
script:
- 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:
- master
- tags
......@@ -20,7 +20,7 @@ publish snapshot artifacts:
- gpg --list-keys
script:
- 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:
- master
......
......@@ -119,6 +119,13 @@
<goals>
<goal>sign</goal>
</goals>
<!-- gpg: signing failed: No such file or directory -->
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</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