Fix Jenkins tests
This commit is contained in:
parent
c1b7d6b027
commit
fa0b47d3f0
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue