Updated Readme
This commit is contained in:
		
							parent
							
								
									0e28922491
								
							
						
					
					
						commit
						53c96e2a9d
					
				
							
								
								
									
										16
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								README.md
									
									
									
									
									
								
							| @ -15,3 +15,19 @@ After all you will have in your pipeline all functions that `helpers.groovy` pro | ||||
| - stageWithChecks | ||||
| - setSuccessCheck | ||||
| - withGiteaCreds | ||||
| - withDockerCreds | ||||
| 
 | ||||
| ### Example: | ||||
| ```groovy | ||||
| helpersPath = "/tmp/helpers.groovy" | ||||
| sh "curl -L http://10.244.188.80:30210/weissmall/jenkins-tools/raw/branch/master/helpers.groovy -o $helpersPath" | ||||
| helpers = load helpersPath | ||||
| ... | ||||
| helpers.stageWithChecks('tests') { | ||||
|     ... | ||||
| } | ||||
| 
 | ||||
| helpers.withDockerCreds("Creds", env.DOCKER_REGISTRY_HOST) { | ||||
|     ... | ||||
| } | ||||
| ``` | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user