Update Jenkinsfile
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env groovy
|
#!/usr/bin/env groovy
|
||||||
|
|
||||||
// Reference the GitLab connection name from your Jenkins Global configuration (https://JENKINS_URL/configure, GitLab section)
|
// Reference the GitLab connection name from your Jenkins Global configuration (https://JENKINS_URL/configure, GitLab section)
|
||||||
properties([gitLabConnection('your-gitlab-connection-name')])
|
properties([gitLabConnection('test-gitlab-hook')])
|
||||||
|
|
||||||
node {
|
node {
|
||||||
checkout scm // Jenkins will clone the appropriate git branch, no env vars needed
|
checkout scm // Jenkins will clone the appropriate git branch, no env vars needed
|
||||||
@@ -18,6 +18,7 @@ pipeline {
|
|||||||
echo "Testing the application..."
|
echo "Testing the application..."
|
||||||
echo "Testing webhook..."
|
echo "Testing webhook..."
|
||||||
echo "Testing webhook..."
|
echo "Testing webhook..."
|
||||||
|
echo "Testing webhook..."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user