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!'
            }
        }
    }
}
