Compare commits
2 Commits
a699898f3e
...
5591b8abab
Author | SHA1 | Date | |
---|---|---|---|
5591b8abab | |||
5afb398299 |
19
.drone.yml
19
.drone.yml
@ -10,13 +10,20 @@ steps:
|
|||||||
image: maven:3-eclipse-temurin-16
|
image: maven:3-eclipse-temurin-16
|
||||||
commands:
|
commands:
|
||||||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||||
|
- find
|
||||||
- mvn javadoc:javadoc
|
- mvn javadoc:javadoc
|
||||||
|
- find
|
||||||
- mvn test -B
|
- mvn test -B
|
||||||
|
- find
|
||||||
|
|
||||||
- name: code-analysis
|
- name: code-analysis
|
||||||
image: aosapps/drone-sonar-plugin
|
image: maven:3-eclipse-temurin-16
|
||||||
settings:
|
commands:
|
||||||
sonar_host:
|
- mvn sonar:sonar -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.login=$SONAR_LOGIN_KEY
|
||||||
from_secret: sonar_host
|
environment:
|
||||||
sonar_token:
|
SONAR_PROJECT_KEY:
|
||||||
from_secret: sonar_token
|
from_secret: sonar_project_key
|
||||||
|
SONAR_INSTANCE_URL:
|
||||||
|
from_secret: sonar_instance_url
|
||||||
|
SONAR_LOGIN_KEY:
|
||||||
|
from_secret: sonar_login_key
|
7
pom.xml
7
pom.xml
@ -97,6 +97,13 @@
|
|||||||
<version>3.4.1</version>
|
<version>3.4.1</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.sonarsource.scanner.maven</groupId>
|
||||||
|
<artifactId>sonar-maven-plugin</artifactId>
|
||||||
|
<version>3.9.1.2184</version>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ public class Cache
|
|||||||
*
|
*
|
||||||
* @param v the verbosity boolean value
|
* @param v the verbosity boolean value
|
||||||
*/
|
*/
|
||||||
public static void setVerbose(boolean v)
|
public static synchronized void setVerbose(boolean v)
|
||||||
{
|
{
|
||||||
verbose = v;
|
verbose = v;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user