Commit 1ca47ac6 by Administrator

Update Jenkinsfile

parent 06b33699
pipeline { pipeline {
agent {label 'jenkins-jnlp'} agent {label 'jenkins-jnlp'}
triggers {
GenericTrigger(
genericVariables: [
[key: 'ref', value: '$.ref']
],
causeString: 'Triggered on $ref',
token: 'searchhotcrawler123',
printContributedVariables: true,
printPostContent: true,
silentResponse: false,
regexpFilterText: '$ref',
regexpFilterExpression: 'refs/heads/' + BRANCH_NAME
)
}
stages { stages {
stage('build') { stage('build') {
when { branch 'master' } when { branch 'master' }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment