You've already forked sap-jenkins-library
							
							
				mirror of
				https://github.com/SAP/jenkins-library.git
				synced 2025-10-30 23:57:50 +02:00 
			
		
		
		
	fix codeclimat issues
This commit is contained in:
		| @@ -24,7 +24,7 @@ public class StepHelpers { | ||||
|                                                                 configuration.changeManagement.git.to, | ||||
|                                                                 configuration.changeManagement.transportRequestLabel, | ||||
|                                                                 configuration.changeManagement.git.format | ||||
|                                                              ) | ||||
|                                                             ) | ||||
|  | ||||
|                 step.echo "[INFO] Transport request id '${transportRequestId}' retrieved from commit history" | ||||
|  | ||||
| @@ -47,14 +47,14 @@ public class StepHelpers { | ||||
|         } else { | ||||
|  | ||||
|             step.echo "[INFO] Retrieving ChangeDocumentId from commit history [from: ${configuration.changeManagement.git.from}, to: ${configuration.changeManagement.git.to}]." + | ||||
|                       "Searching for pattern '${configuration.changeDocumentLabel}'. Searching with format '${configuration.changeManagement.git.format}'." | ||||
|                         "Searching for pattern '${configuration.changeDocumentLabel}'. Searching with format '${configuration.changeManagement.git.format}'." | ||||
|  | ||||
|             try { | ||||
|                 changeDocumentId = cm.getChangeDocumentId( | ||||
|                                                           configuration.changeManagement.git.from, | ||||
|                                                           configuration.changeManagement.git.to, | ||||
|                                                           configuration.changeManagement.changeDocumentLabel, | ||||
|                                                           configuration.changeManagement.gitformat | ||||
|                                                             configuration.changeManagement.git.from, | ||||
|                                                             configuration.changeManagement.git.to, | ||||
|                                                             configuration.changeManagement.changeDocumentLabel, | ||||
|                                                             configuration.changeManagement.gitformat | ||||
|                                                          ) | ||||
|  | ||||
|                 step.echo "[INFO] ChangeDocumentId '${changeDocumentId}' retrieved from commit history" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user