Jenkinsfile
This commit is contained in:
		
							parent
							
								
									2e820daf95
								
							
						
					
					
						commit
						d0de1370f1
					
				| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
pipeline {
 | 
			
		||||
	stages{
 | 
			
		||||
		stage('build'){
 | 
			
		||||
			steps{
 | 
			
		||||
			sh 'npm install'
 | 
			
		||||
			sh 'next build'
 | 
			
		||||
			}
 | 
			
		||||
			stage('deploy'){
 | 
			
		||||
 | 
			
		||||
            steps{
 | 
			
		||||
sshPublisher(publishers: [sshPublisherDesc(configName: 'Demos', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'ssh-uploads/subman', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '.next/server/**')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
 | 
			
		||||
            }
 | 
			
		||||
			}
 | 
			
		||||
	}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue