Skip to content

Commit 8896f60

Browse files
committed
ci: add docker labels
1 parent 5104b93 commit 8896f60

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ pipeline {
128128
docker{
129129
image 'ghcr.io/astral-sh/uv:debian'
130130
label 'docker && linux && x86_64'
131-
args '--mount source=tripwire_cache,target=/tmp --tmpfs /.config:exec --tmpfs /.tree-sitter:exec'
131+
args "--label=purpose=ci --label \"JOB_NAME=\$JOB_NAME\" --label \"absoluteUrl=${currentBuild.absoluteUrl}\" --label \"BUILD_NUMBER=${currentBuild.number}\" --mount source=tripwire_cache,target=/tmp --tmpfs /.config:exec --tmpfs /.tree-sitter:exec"
132132
}
133133

134134
}
@@ -360,7 +360,7 @@ pipeline {
360360
docker {
361361
image 'ghcr.io/astral-sh/uv:debian'
362362
label 'docker && linux'
363-
args '--mount source=tripwire_cache,target=/tmp'
363+
args "--label=purpose=ci --label \"JOB_NAME=\$JOB_NAME\" --label \"absoluteUrl=${currentBuild.absoluteUrl}\" --label \"BUILD_NUMBER=${currentBuild.number}\" --mount source=tripwire_cache,target=/tmp"
364364
}
365365
}
366366
steps{

0 commit comments

Comments
 (0)