Przeglądaj źródła

Merge branch 'master' of http://nordh.xyz:8300/Axel/ATG

Axel Nordh 3 lat temu
rodzic
commit
3b17f0791c
1 zmienionych plików z 11 dodań i 14 usunięć
  1. 11 14
      .drone.yml

+ 11 - 14
.drone.yml

@@ -1,14 +1,11 @@
-cache:
-  mount:
-    - /drone/.m2
-build:
-  main:
-    image: maven:3-jdk-8-onbuild
-    commands:
-      - mvn sonar:sonar -Dsonar.host.url=http://nordh.xyz:9088 -Dmaven.repo.local=/drone/.m2
-      - echo "Sonarqube has been completed."
-      - mvn clean install -Pcoverage -Dmaven.repo.local=/drone/.m2
-      - mvn package -Dmaven.repo.local=/drone/.m2
-      - mvn test -Dmaven.repo.local=/drone/.m2
-      - echo "Build has been completed."
-debug: true
+kind: pipeline
+name: default
+
+steps:
+  - name: code-analysis
+image: aosapps/drone-sonar-plugin
+settings:
+  sonar_host:
+    from_secret: http://nordh.xyz:9088
+  sonar_token:
+    from_secret: 6ebdc70aefc3751a6dd6e182dbf5f25e7414e0e7