Pipeline will now only publish to git.reslate.systems on main branch
This commit is contained in:
		
							
								
								
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -35,6 +35,10 @@ pipeline {
 | 
			
		||||
        stage("publish") {
 | 
			
		||||
            parallel {
 | 
			
		||||
                stage ("git.reslate.systems") {
 | 
			
		||||
                    when {
 | 
			
		||||
                        branch '**/main'
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    environment {
 | 
			
		||||
                        CREDS = credentials('username-password-rs-git')
 | 
			
		||||
                    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user