fix build number not being expanded to proper value (#254)
convert String to GString so that the value is interpolated properly
This commit is contained in:
		
							parent
							
								
									9d142efb01
								
							
						
					
					
						commit
						032ee6f9f1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -18,7 +18,7 @@ def baseVersion = '0.5' | |||
| def build = 'local' | ||||
| def ENV = System.getenv() | ||||
| if (ENV.BUILD_NUMBER) { | ||||
| 	build = 'jenkins #${ENV.BUILD_NUMBER}' | ||||
| 	build = "jenkins #${ENV.BUILD_NUMBER}" | ||||
| 	version = baseVersion + '.' + ENV.BUILD_NUMBER | ||||
| } else { | ||||
| 	version = baseVersion + '.local' | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue