adding jenkinsfile
This commit is contained in:
		
							
								
								
									
										14
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -1,15 +1,11 @@
 | 
				
			|||||||
pipeline{
 | 
					pipeline {
 | 
				
			||||||
 | 
					 | 
				
			||||||
    agent any
 | 
					    agent any
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    stages {
 | 
					    stages {
 | 
				
			||||||
 | 
					        stage('Build') {
 | 
				
			||||||
        stage("build"){
 | 
					            steps {
 | 
				
			||||||
 | 
					                sh "sudo docker-compose build"
 | 
				
			||||||
            steps{
 | 
					                sh "sudo docker-compose up -d"
 | 
				
			||||||
                script{
 | 
					 | 
				
			||||||
                    docker-compose up -d --build
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user