testing background tasks
This commit is contained in:
		
							parent
							
								
									6efeabe55d
								
							
						
					
					
						commit
						2093a5479f
					
				@ -1,4 +1,7 @@
 | 
			
		||||
get_vars:
 | 
			
		||||
  stage: test
 | 
			
		||||
  script:
 | 
			
		||||
    - echo this testvar value is $TEST_VAR
 | 
			
		||||
    - sleep 10 &
 | 
			
		||||
    - a=$!
 | 
			
		||||
    - echo $a
 | 
			
		||||
    - setsid echo this testvar value is $TEST_VAR
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user