Skip to content

Commit 841e909

Browse files
committed
add memery docker container
1 parent 16c6cfa commit 841e909

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

jenkins/Jenkinsfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
pipeline {
22

3-
agent {
4-
label 'docker' // <--- Aquí especificas el nodo por su etiqueta
5-
}
6-
/**agent any
73
agent {
84
docker {
9-
image 'maven:3.9.0'
10-
args '-v /root/.m2:/root/.m2'
5+
//image 'maven:3.9.0'
6+
//args '-v /root/.m2:/root/.m2'
7+
args '--memory=3g'
118
}
129
}*/
1310

0 commit comments

Comments
 (0)