Pipeline now uses submodule for fork of recipe repo
This commit is contained in:
		
							
								
								
									
										10
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @@ -6,6 +6,12 @@ pipeline { | ||||
|             inheritFrom 'miniforge' | ||||
|         } | ||||
|     } | ||||
|     environment { | ||||
|         TOOL_VER = """${sh( | ||||
|                 returnStdout: true, | ||||
|                 script: 'python pypi_latest_ver.py autoBIGS.engine' | ||||
|             )}""" | ||||
|     } | ||||
|     stages { | ||||
|         stage("prepare") { | ||||
|             parallel { | ||||
| @@ -16,7 +22,7 @@ pipeline { | ||||
|                         sh 'git submodule init' | ||||
|                         sh 'git submodule update' | ||||
|                         dir('auto-updated-bioconda-recipes') { | ||||
|                             sh 'git checkout update-autobigs-engine' | ||||
|                             sh 'git checkout -b update-autobigs-engine-${TOOL_VER}' | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
| @@ -54,7 +60,7 @@ pipeline { | ||||
|                     } | ||||
|                     steps { | ||||
|                         dir('auto-updated-bioconda-recipes') { | ||||
|                             sh 'git commit -a -m "Automatically updated autobigs-engine bioconda recipe to $(python ../pypi_latest_ver.py autoBIGS.engine)."' | ||||
|                             sh 'git commit -a -m "Automatically updated autobigs-engine bioconda recipe to ${TOOL_VER}."' | ||||
|                             sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git update-autobigs-engine' | ||||
|                         } | ||||
|                     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user