Update Jenkinsfile
This commit is contained in:
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@@ -1,17 +1,5 @@
|
|||||||
#!/usr/bin/env groovy
|
#!/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'),
|
|
||||||
pipelineTriggers([
|
|
||||||
[
|
|
||||||
$class : 'GitLabPushTrigger',
|
|
||||||
triggerOnPush : true
|
|
||||||
]
|
|
||||||
])
|
|
||||||
])*/
|
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
@@ -19,9 +7,6 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
echo "Testing the application..."
|
echo "Testing the application..."
|
||||||
echo "Testing webhook..."
|
|
||||||
echo "Testing webhook..."
|
|
||||||
echo "Testing webhook..."
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -29,8 +14,6 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
echo "Building the application..."
|
echo "Building the application..."
|
||||||
echo "Testing webhook..."
|
|
||||||
echo "Testing webhook..."
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user