Change file Jenkins to test plugin Pipeline: Stage View
This commit is contained in:
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@@ -1,10 +1,19 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Build') {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
sh 'echo "Rulez din Gitea!"'
|
||||
sh 'ls -la'
|
||||
git credentialsId: 'cheie-gitea-mac', url: 'git@gitea.dev.bodnarescu.ro:marius.grosu/jenkins_projects.git'
|
||||
}
|
||||
}
|
||||
stage('Test Connection') {
|
||||
steps {
|
||||
sh 'ping -c 2 google.com'
|
||||
}
|
||||
}
|
||||
stage('Finalize') {
|
||||
steps {
|
||||
echo 'Totul e verde!'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user