Added Jenkins file
This commit is contained in:
		
							
								
								
									
										27
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
pipeline {
 | 
			
		||||
    agent any
 | 
			
		||||
 | 
			
		||||
    stages {
 | 
			
		||||
        stage('Rust Testing') {
 | 
			
		||||
            steps {
 | 
			
		||||
                sh "cargo test"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        stage('Linux Build') {
 | 
			
		||||
            steps {
 | 
			
		||||
                sh "cargo build --release"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
	stage('Integration Testing') {
 | 
			
		||||
	    steps {
 | 
			
		||||
                sh "pipenv install"
 | 
			
		||||
                sh "pipenv run pytest"
 | 
			
		||||
            }
 | 
			
		||||
	}
 | 
			
		||||
        stage('Archiving') {
 | 
			
		||||
            steps {
 | 
			
		||||
                archiveArtifacts artifacts: 'target/release/morethantext_web', fingerprint: true
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user