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 {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
sh 'echo "Rulez din Gitea!"'
|
git credentialsId: 'cheie-gitea-mac', url: 'git@gitea.dev.bodnarescu.ro:marius.grosu/jenkins_projects.git'
|
||||||
sh 'ls -la'
|
}
|
||||||
|
}
|
||||||
|
stage('Test Connection') {
|
||||||
|
steps {
|
||||||
|
sh 'ping -c 2 google.com'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Finalize') {
|
||||||
|
steps {
|
||||||
|
echo 'Totul e verde!'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user