Jenkins pipeline #123
							
								
								
									
										29
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										29
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -1,11 +1,22 @@
 | 
				
			|||||||
node('master'){
 | 
					pipeline {
 | 
				
			||||||
	stage('git pull'){
 | 
					    agent any
 | 
				
			||||||
		git credentialsId: '7724c11a-2509-4aa3-9862-106aa354c5b8', url: 'ssh://_git@phabricator.release11.com/diffusion/CZOPW/czopw.git'
 | 
					    tools {
 | 
				
			||||||
		}
 | 
					        git 'Default'
 | 
				
			||||||
	stage('build & deploy'){
 | 
					    }
 | 
				
			||||||
		sh 'cd Web/ && docker-compose --context gordon up --force-recreate --build -d'
 | 
					    parameters {
 | 
				
			||||||
	}
 | 
					        booleanParam(name: 'TERRAFORM', defaultValue: false)
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    stages {
 | 
				
			||||||
 | 
					        stage('Clean workspace') {
 | 
				
			||||||
 | 
					            steps {
 | 
				
			||||||
 | 
					                cleanWs()
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        stage ('Checkout') {
 | 
				
			||||||
 | 
					            steps {
 | 
				
			||||||
 | 
					                checkout([$class: 'GitSCM', branches: [[name: 'master']], extensions: [], userRemoteConfigs: [[credentialsId: 'tools-deploy-key', url: '_gitea@gitea.release11.com:R11/release11-tools-web.git']]])
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user