add test stage to linux cuda on docker build
Signed-off-by: brian <brian@brutex.de>
This commit is contained in:
		
							parent
							
								
									3d949c5348
								
							
						
					
					
						commit
						1b3338f809
					
				@ -56,5 +56,20 @@ pipeline {
 | 
				
			|||||||
                //stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
 | 
					                //stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        stage('test-linux-cuda') {
 | 
				
			||||||
 | 
					            environment {
 | 
				
			||||||
 | 
					                MAVEN = credentials('Internal_Archiva')
 | 
				
			||||||
 | 
					                OSSRH = credentials('OSSRH')
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            steps {
 | 
				
			||||||
 | 
					                withGradle {
 | 
				
			||||||
 | 
					                    sh 'sh ./gradlew test --stacktrace -PexcludeTests=\'long-running,performance\' -Pskip-native=true -PCAVIS_CHIP=cuda \
 | 
				
			||||||
 | 
					                                -Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
 | 
				
			||||||
 | 
					                                -PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                //stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user