Update Jenkinsfile

This commit is contained in:
Nana Janashia
2021-03-21 09:45:31 +00:00
parent ba406dd3a9
commit ddce6d49ac

10
Jenkinsfile vendored
View File

@@ -1,8 +1,16 @@
#!/usr/bin/env groovy
// Reference the GitLab connection name from your Jenkins Global configuration (https://JENKINS_URL/configure, GitLab section)
properties([gitLabConnection('test-gitlab-hook')])
properties([
gitLabConnection('test-gitlab-hook'),
pipelineTriggers([
[
$class : 'GitLabPushTrigger',
triggerOnPush : true
]
])
])
node {
stage('Checkout') {