Move it on Drone CI. Remove malware Jenkins. Friendly advice: never use it.
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		
							parent
							
								
									49f0b649b6
								
							
						
					
					
						commit
						36ee7281ab
					
				
					 4 changed files with 38 additions and 22 deletions
				
			
		
							
								
								
									
										30
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -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
 | 
				
			||||||
							
								
								
									
										21
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -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
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -2,5 +2,9 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Dumb tool to dump USB packets to files (Bulk transfer)
 | 
					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
 | 
					## License
 | 
				
			||||||
Source code spreads under the GNU General Public License v3 or higher. Please see LICENSE file.
 | 
					Source code spreads under the GNU General Public License v3 or higher. Please see LICENSE file.
 | 
				
			||||||
							
								
								
									
										5
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								pom.xml
									
									
									
									
									
								
							| 
						 | 
					@ -36,12 +36,13 @@
 | 
				
			||||||
                <role>Developer</role>
 | 
					                <role>Developer</role>
 | 
				
			||||||
            </roles>
 | 
					            </roles>
 | 
				
			||||||
            <timezone>+3</timezone>
 | 
					            <timezone>+3</timezone>
 | 
				
			||||||
            <url>https://developersu.blogspot.com/</url>
 | 
					            <url>https://redrise.ru/</url>
 | 
				
			||||||
        </developer>
 | 
					        </developer>
 | 
				
			||||||
    </developers>
 | 
					    </developers>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <properties>
 | 
					    <properties>
 | 
				
			||||||
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
					        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
				
			||||||
 | 
					        <maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format>
 | 
				
			||||||
    </properties>
 | 
					    </properties>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <issueManagement>
 | 
					    <issueManagement>
 | 
				
			||||||
| 
						 | 
					@ -145,6 +146,7 @@
 | 
				
			||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
    </dependencies>
 | 
					    </dependencies>
 | 
				
			||||||
    <build>
 | 
					    <build>
 | 
				
			||||||
 | 
					        <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
 | 
				
			||||||
        <plugins>
 | 
					        <plugins>
 | 
				
			||||||
            <plugin>
 | 
					            <plugin>
 | 
				
			||||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
					                <groupId>org.apache.maven.plugins</groupId>
 | 
				
			||||||
| 
						 | 
					@ -180,6 +182,7 @@
 | 
				
			||||||
                    <descriptorRefs>
 | 
					                    <descriptorRefs>
 | 
				
			||||||
                        <descriptorRef>jar-with-dependencies</descriptorRef>
 | 
					                        <descriptorRef>jar-with-dependencies</descriptorRef>
 | 
				
			||||||
                    </descriptorRefs>
 | 
					                    </descriptorRefs>
 | 
				
			||||||
 | 
					                    <appendAssemblyId>false</appendAssemblyId>
 | 
				
			||||||
                </configuration>
 | 
					                </configuration>
 | 
				
			||||||
                <executions>
 | 
					                <executions>
 | 
				
			||||||
                    <execution>
 | 
					                    <execution>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue