mirror of https://github.com/docker/docker-py.git
				
				
				
			Merge pull request #2763 from StefanScherer/revert-to-wrappedNode
Revert back to wrappedNode
This commit is contained in:
		
						commit
						407dcfd65b
					
				|  | @ -18,7 +18,7 @@ def buildImage = { name, buildargs, pyTag -> | |||
| } | ||||
| 
 | ||||
| def buildImages = { -> | ||||
|   node("amd64 && ubuntu-2004 && overlay2") { | ||||
|   wrappedNode(label: "amd64 && ubuntu-2004 && overlay2", cleanWorkspace: true) { | ||||
|     stage("build image") { | ||||
|       checkout(scm) | ||||
| 
 | ||||
|  | @ -36,7 +36,7 @@ def buildImages = { -> | |||
| 
 | ||||
| def getDockerVersions = { -> | ||||
|   def dockerVersions = ["19.03.12"] | ||||
|   node("amd64 && ubuntu-2004 && overlay2") { | ||||
|   wrappedNode(label: "amd64 && ubuntu-2004 && overlay2") { | ||||
|     def result = sh(script: """docker run --rm \\ | ||||
|         --entrypoint=python \\ | ||||
|         ${imageNamePy3} \\ | ||||
|  | @ -77,7 +77,7 @@ def runTests = { Map settings -> | |||
|   } | ||||
| 
 | ||||
|   { -> | ||||
|     node("amd64 && ubuntu-2004 && overlay2") { | ||||
|     wrappedNode(label: "amd64 && ubuntu-2004 && overlay2", cleanWorkspace: true) { | ||||
|       stage("test python=${pythonVersion} / docker=${dockerVersion}") { | ||||
|         checkout(scm) | ||||
|         def dindContainerName = "dpy-dind-\$BUILD_NUMBER-\$EXECUTOR_NUMBER-${pythonVersion}-${dockerVersion}" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue