Test Neutral Pipeline #7
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Neutral/pipeline/head Something is wrong with the build of this commit
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Neutral/pipeline/head Something is wrong with the build of this commit
				
			This commit is contained in:
		
							
								
								
									
										9
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -16,19 +16,12 @@ pipeline {
 | 
				
			|||||||
        stage('[Neutral] - Deploy') {
 | 
					        stage('[Neutral] - Deploy') {
 | 
				
			||||||
            steps {
 | 
					            steps {
 | 
				
			||||||
                script {
 | 
					                script {
 | 
				
			||||||
                    def doesJavaRock = input(message: 'Confirmation de Déploiement', ok: 'Yes', 
 | 
					                    def doesJavaRock = input(message: 'Confirmation de Déploiement', ok: 'Lancer le déploiement')
 | 
				
			||||||
                        parameters: [booleanParam(defaultValue: true, 
 | 
					 | 
				
			||||||
                        description: 'Confirmation',name: 'Oui')])
 | 
					 | 
				
			||||||
                    if(doesJavaRock == true) {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    echo "[Neutral-Deploy] - Deploy Stage"
 | 
					                    echo "[Neutral-Deploy] - Deploy Stage"
 | 
				
			||||||
                    sh "ssh raphix@raphix.fr sudo apt update -y"
 | 
					                    sh "ssh raphix@raphix.fr sudo apt update -y"
 | 
				
			||||||
                    sh "ssh raphix@raphix.fr sudo apt upgrade -y"
 | 
					                    sh "ssh raphix@raphix.fr sudo apt upgrade -y"
 | 
				
			||||||
                    sh "ssh raphix@raphix.fr sudo -S -u gitlab-ci /home/gitlab-ci/neutral_deploy.sh"
 | 
					                    sh "ssh raphix@raphix.fr sudo -S -u gitlab-ci /home/gitlab-ci/neutral_deploy.sh"
 | 
				
			||||||
                    } else {
 | 
					 | 
				
			||||||
                   
 | 
					                   
 | 
				
			||||||
                        echo "aborted"
 | 
					 | 
				
			||||||
                    }
 | 
					 | 
				
			||||||
                              
 | 
					                              
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                
 | 
					                
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user