Fix Install Jenkins #4
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Neutral/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Neutral/pipeline/head This commit looks good
				
			This commit is contained in:
		
							
								
								
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -15,7 +15,7 @@ pipeline {
 | 
				
			|||||||
                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 /home/gitlab-ci/neutral_deploy.sh"
 | 
					                sh "ssh raphix@raphix.fr sudo -u 'gitlab-ci' /home/gitlab-ci/neutral_deploy.sh"
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,5 @@
 | 
				
			|||||||
echo "[Neutral-Deploy] - Stage - Déploiement  - START "
 | 
					echo "[Neutral-Deploy] - Stage - Déploiement  - START "
 | 
				
			||||||
echo "[Neutral-Deploy] - Arrêt de Neutral : Processing"
 | 
					echo "[Neutral-Deploy] - Arrêt de Neutral : Processing"
 | 
				
			||||||
sudo su gitlab-ci
 | 
					 | 
				
			||||||
cd /home/gitlab-ci
 | 
					cd /home/gitlab-ci
 | 
				
			||||||
pm2 stop Neutral
 | 
					pm2 stop Neutral
 | 
				
			||||||
pm2 delete Neutral
 | 
					pm2 delete Neutral
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user