Fix Jenkins tests

This commit is contained in:
retropikzel 2026-07-04 13:14:20 +03:00
parent c1b7d6b027
commit fa0b47d3f0
1 changed files with 12 additions and 18 deletions

30
Jenkinsfile vendored
View File

@ -3,28 +3,22 @@ pipeline {
dockerfile { dockerfile {
filename 'Dockerfile.jenkins' filename 'Dockerfile.jenkins'
label 'docker-x86_64' label 'docker-x86_64'
args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock' args '-t --user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock'
} }
} }
triggers { triggers {
GenericTrigger( GenericTrigger(
genericVariables: [ genericVariables: [[key: 'ref', value: '$.ref']],
[key: 'ref', value: '$.ref'] causeString: 'Triggered on $ref',
], printContributedVariables: true,
printPostContent: true,
causeString: 'Triggered on $ref', silentResponse: false,
shouldNotFlatten: false,
printContributedVariables: true, regexpFilterText: '$ref',
printPostContent: true, regexpFilterExpression: 'refs/heads/' + BRANCH_NAME
)
silentResponse: false, }
shouldNotFlatten: false,
regexpFilterText: '$ref',
regexpFilterExpression: 'refs/heads/' + BRANCH_NAME
)
}
options { options {
disableConcurrentBuilds() disableConcurrentBuilds()