diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..04f5b68 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +kind: pipeline +type: docker +name: default + +steps: + - name: test + image: maven:3-jdk-11 + commands: + - mvn -B -DskipTests clean package + - mvn test -B + volumes: + - name: m2 + path: /root/.m2 + + - name: archive-artifact + image: alpine:latest + commands: + - mkdir -p /builds/javausbtool + - cp target/JavaUSBTool-*jar /builds/javausbtool/ + volumes: + - name: builds + path: /builds + +volumes: + - name: m2 + host: + path: /home/docker/drone/files/m2 + - name: builds + host: + path: /home/www/builds \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index e85efc8..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,21 +0,0 @@ -pipeline { - agent { - docker { - image 'maven:3-jdk-11' - args '-v /home/docker/jenkins/files/m2:/root/.m2' - } - } - - stages { - stage('Build') { - steps { - sh 'mvn -B -DskipTests clean package' - } - } - } - post { - always { - archiveArtifacts artifacts: 'target/*.jar, target/*.exe', onlyIfSuccessful: true - } - } -} \ No newline at end of file diff --git a/README.md b/README.md index 33d8dec..f9d348a 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,9 @@ Dumb tool to dump USB packets to files (Bulk transfer) +GitHub mirror. [Click here to get it from independent source code location](https://git.redrise.ru/desu/JavaUSBTool) + +Nightly builds could be found somewhere on [redrise.ru](https://redrise.ru) + ## License Source code spreads under the GNU General Public License v3 or higher. Please see LICENSE file. \ No newline at end of file diff --git a/pom.xml b/pom.xml index 87bf403..7890bbc 100644 --- a/pom.xml +++ b/pom.xml @@ -36,12 +36,13 @@ Developer +3 - https://developersu.blogspot.com/ + https://redrise.ru/ UTF-8 + yyyyMMdd.HHmmss @@ -145,6 +146,7 @@ + ${project.artifactId}-${project.version}-${maven.build.timestamp} org.apache.maven.plugins @@ -180,6 +182,7 @@ jar-with-dependencies + false