mirror of
				https://github.com/simon987/task_tracker_drone.git
				synced 2025-11-04 01:36:52 +00:00 
			
		
		
		
	fix jenkins
This commit is contained in:
		
							parent
							
								
									4a251515ca
								
							
						
					
					
						commit
						53f68867c8
					
				
							
								
								
									
										2
									
								
								jenkins/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								jenkins/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@ -16,13 +16,11 @@ pipeline {
 | 
			
		||||
        }
 | 
			
		||||
        stage('Test') {
 | 
			
		||||
			steps {
 | 
			
		||||
				unstash 'env'
 | 
			
		||||
				sh 'bash -c "source env/bin/activate && cd src && python -m unittest discover"'
 | 
			
		||||
			}
 | 
			
		||||
        }
 | 
			
		||||
        stage('Deploy') {
 | 
			
		||||
            steps {
 | 
			
		||||
				unstash 'env'
 | 
			
		||||
				sshPut remote: remote, from: 'env', into: 'task_tracker_drone'
 | 
			
		||||
				sshPut remote: remote, from: 'jenkins/deploy.sh', into: 'task_tracker_drone/deploy.sh'
 | 
			
		||||
				sshPut remote: remote, from: 'src', into: 'task_tracker_drone'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user