Make Docker HUB Creds local to Login Step
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				andreas-personal/good-old-jenkins/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	andreas-personal/good-old-jenkins/pipeline/head This commit looks good
				
			This commit is contained in:
		
							
								
								
									
										8
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @@ -11,11 +11,11 @@ pipeline { | ||||
|                 beforeAgent true; | ||||
|                 branch 'main' | ||||
|             } | ||||
|             environment { | ||||
|                 DOCKER_HUB_CREDENTIALS = credentials('docker-hub-fah16145') | ||||
|             } | ||||
|             stages { | ||||
|                 stage('Login') { | ||||
|                 stage('Login') {        | ||||
|                     environment { | ||||
|                         DOCKER_HUB_CREDENTIALS = credentials('docker-hub-fah16145') | ||||
|                     } | ||||
|                     steps { | ||||
|                         sh 'docker login -u ${DOCKER_HUB_CREDENTIALS_USR} -p ${DOCKER_HUB_CREDENTIALS_PSW}' | ||||
|                     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user