gitlab-ci: move the JOB_ID saving command to after_script:
This commit is contained in:
		
							parent
							
								
									682e1a77ad
								
							
						
					
					
						commit
						1637be4661
					
				@ -12,8 +12,8 @@ job_linux:
 | 
				
			|||||||
        - "make -j3 && make ziprelease"
 | 
					        - "make -j3 && make ziprelease"
 | 
				
			||||||
        - "API=sdl2 make -j3 && API=sdl2 make ziprelease"
 | 
					        - "API=sdl2 make -j3 && API=sdl2 make ziprelease"
 | 
				
			||||||
        - "make docarchive"
 | 
					        - "make docarchive"
 | 
				
			||||||
        - "echo $CI_JOB_ID > LINUX_JOB_ID"
 | 
					 | 
				
			||||||
    after_script:
 | 
					    after_script:
 | 
				
			||||||
 | 
					        - "echo $CI_JOB_ID > LINUX_JOB_ID"
 | 
				
			||||||
        - "cd 3rdparty; make checkversions"
 | 
					        - "cd 3rdparty; make checkversions"
 | 
				
			||||||
    artifacts:
 | 
					    artifacts:
 | 
				
			||||||
        paths:
 | 
					        paths:
 | 
				
			||||||
@ -53,6 +53,7 @@ job_win32:
 | 
				
			|||||||
        - "WIN32CROSS=1 API=sdl2 make -j2"
 | 
					        - "WIN32CROSS=1 API=sdl2 make -j2"
 | 
				
			||||||
        - "WIN32CROSS=1 API=sdl2 make ziprelease"
 | 
					        - "WIN32CROSS=1 API=sdl2 make ziprelease"
 | 
				
			||||||
        - "WIN32CROSS=1 API=sdl2 make win32installer"
 | 
					        - "WIN32CROSS=1 API=sdl2 make win32installer"
 | 
				
			||||||
 | 
					    after_script:
 | 
				
			||||||
        - "echo $CI_JOB_ID > WIN32_JOB_ID"
 | 
					        - "echo $CI_JOB_ID > WIN32_JOB_ID"
 | 
				
			||||||
    artifacts:
 | 
					    artifacts:
 | 
				
			||||||
        paths:
 | 
					        paths:
 | 
				
			||||||
@ -69,6 +70,7 @@ job_atari:
 | 
				
			|||||||
        - "ATARICROSS=1 make 3rdparty -j2"
 | 
					        - "ATARICROSS=1 make 3rdparty -j2"
 | 
				
			||||||
        - "ATARICROSS=1 make -j2"
 | 
					        - "ATARICROSS=1 make -j2"
 | 
				
			||||||
        - "ATARICROSS=1 make ziprelease"
 | 
					        - "ATARICROSS=1 make ziprelease"
 | 
				
			||||||
 | 
					    after_script:
 | 
				
			||||||
        - "echo $CI_JOB_ID > ATARI_JOB_ID"
 | 
					        - "echo $CI_JOB_ID > ATARI_JOB_ID"
 | 
				
			||||||
    artifacts:
 | 
					    artifacts:
 | 
				
			||||||
        paths:
 | 
					        paths:
 | 
				
			||||||
@ -85,6 +87,7 @@ job_gp2x:
 | 
				
			|||||||
    script:
 | 
					    script:
 | 
				
			||||||
        - "NOLUA=1 GP2XCROSS=1 make -j2 grafx2"
 | 
					        - "NOLUA=1 GP2XCROSS=1 make -j2 grafx2"
 | 
				
			||||||
        - "NOLUA=1 GP2XCROSS=1 make ziprelease"
 | 
					        - "NOLUA=1 GP2XCROSS=1 make ziprelease"
 | 
				
			||||||
 | 
					    after_script:
 | 
				
			||||||
        - "echo $CI_JOB_ID > GP2X_JOB_ID"
 | 
					        - "echo $CI_JOB_ID > GP2X_JOB_ID"
 | 
				
			||||||
    artifacts:
 | 
					    artifacts:
 | 
				
			||||||
        paths:
 | 
					        paths:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user