ci: add Jenkins pipeline
This commit is contained in:
Vendored
+25
@@ -0,0 +1,25 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Checkout') {
|
||||||
|
steps {
|
||||||
|
echo 'Checking out the development branch'
|
||||||
|
sh 'git log -1 --oneline'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Test') {
|
||||||
|
steps {
|
||||||
|
echo 'Hello from Jenkins!'
|
||||||
|
sh 'ls -la'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Success') {
|
||||||
|
steps {
|
||||||
|
echo 'Build completed successfully!'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user