Fix Jenkins tests
This commit is contained in:
parent
c1b7d6b027
commit
fa0b47d3f0
|
|
@ -3,28 +3,22 @@ pipeline {
|
|||
dockerfile {
|
||||
filename 'Dockerfile.jenkins'
|
||||
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 {
|
||||
GenericTrigger(
|
||||
genericVariables: [
|
||||
[key: 'ref', value: '$.ref']
|
||||
],
|
||||
|
||||
causeString: 'Triggered on $ref',
|
||||
|
||||
printContributedVariables: true,
|
||||
printPostContent: true,
|
||||
|
||||
silentResponse: false,
|
||||
shouldNotFlatten: false,
|
||||
|
||||
regexpFilterText: '$ref',
|
||||
regexpFilterExpression: 'refs/heads/' + BRANCH_NAME
|
||||
)
|
||||
}
|
||||
GenericTrigger(
|
||||
genericVariables: [[key: 'ref', value: '$.ref']],
|
||||
causeString: 'Triggered on $ref',
|
||||
printContributedVariables: true,
|
||||
printPostContent: true,
|
||||
silentResponse: false,
|
||||
shouldNotFlatten: false,
|
||||
regexpFilterText: '$ref',
|
||||
regexpFilterExpression: 'refs/heads/' + BRANCH_NAME
|
||||
)
|
||||
}
|
||||
|
||||
options {
|
||||
disableConcurrentBuilds()
|
||||
|
|
|
|||
Loading…
Reference in New Issue