Switches to Java 11 for compilation and removes some duplicated pipeline steps
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				EpicKnarvik97/Rogue101/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	EpicKnarvik97/Rogue101/pipeline/head This commit looks good
				
			This commit is contained in:
		
							
								
								
									
										6
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -1,7 +1,7 @@
 | 
				
			|||||||
pipeline {
 | 
					pipeline {
 | 
				
			||||||
    agent any
 | 
					    agent any
 | 
				
			||||||
    tools {
 | 
					    tools {
 | 
				
			||||||
        jdk 'JDK8'
 | 
					        jdk 'JDK11'
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    stages {
 | 
					    stages {
 | 
				
			||||||
        stage('Build') {
 | 
					        stage('Build') {
 | 
				
			||||||
@@ -13,13 +13,13 @@ pipeline {
 | 
				
			|||||||
        stage('Test') {
 | 
					        stage('Test') {
 | 
				
			||||||
            steps {
 | 
					            steps {
 | 
				
			||||||
                echo 'Testing...'
 | 
					                echo 'Testing...'
 | 
				
			||||||
                sh 'mvn clean & mvn test'
 | 
					                sh 'mvn test'
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        stage('Deploy') {
 | 
					        stage('Deploy') {
 | 
				
			||||||
             steps {
 | 
					             steps {
 | 
				
			||||||
                echo 'Deploying...'
 | 
					                echo 'Deploying...'
 | 
				
			||||||
                sh 'mvn clean & mvn compile & mvn package & mvn verify & mvn install'
 | 
					                sh 'mvn package & mvn verify & mvn install'
 | 
				
			||||||
                archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
 | 
					                archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user