 Megha Mehta
					
					5 years ago
						Megha Mehta
					
					5 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
2 additions and 
2 deletions
			 
			
		 
		
			
				- 
					
					
					 
					Jenkinsfile
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -3,8 +3,8 @@ node { | 
			
		
	
		
		
			
				
					|  |  |      properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '3', numToKeepStr: '7'))]) |  |  |      properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '3', numToKeepStr: '7'))]) | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     stage('Start argocd') { |  |  |     stage('Start argocd') { | 
			
		
	
		
		
			
				
					
					|  |  | //        withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { |  |  |         withKubeConfig(credentialsId: 'aws-eksctl-kubeconfig', serverUrl: '') { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |             withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { |  |  | //            withCredentials([usernamePassword(credentialsId: 'argocd-devops-lab', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |                sh""" |  |  |                sh""" | 
			
		
	
		
		
			
				
					|  |  |                kubectl port-forward svc/argocd-server -n argocd 8080:443& |  |  |                kubectl port-forward svc/argocd-server -n argocd 8080:443& | 
			
		
	
		
		
			
				
					|  |  |                argocd login 127.0.0.1:8080 --insecure --username admin --password admin |  |  |                argocd login 127.0.0.1:8080 --insecure --username admin --password admin | 
			
		
	
	
		
		
			
				
					|  | 
 |