Added Jenkins file.
This commit is contained in:
		
							
								
								
									
										18
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					servepeline {
 | 
				
			||||||
 | 
					    agent any
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    stages {
 | 
				
			||||||
 | 
					        stage('Linux Testing') {
 | 
				
			||||||
 | 
					            steps {
 | 
				
			||||||
 | 
					                git(url: "https://gitea.baskinprattle.com/jbaskin/morethantext-web.git")
 | 
				
			||||||
 | 
					                sh "cargo test"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        stage('Linux Build') {
 | 
				
			||||||
 | 
					            steps {
 | 
				
			||||||
 | 
					                sh "cargo build --release"
 | 
				
			||||||
 | 
					                archiveArtifacts artifacts: 'target/release/morethantext_web', fingerprint: true
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user