From 823f80dd3519c48f2f1ddd550c02c47d5e5bb037 Mon Sep 17 00:00:00 2001 From: Abed Al Rahman Al Mrad Date: Fri, 2 Aug 2024 10:24:20 -0400 Subject: [PATCH] Jenkinsfile Modifications --- Jenkinsfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c22892e0..8a04369a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,10 +8,19 @@ pipeline { git branch: 'main', url: 'https://github.com/Kinovarobotics/ros2_kortex.git' } } + + stage('List Files') { + steps { + script { + sh 'ls -la' // List all files in the current directory + } + } + } + stage('Validate YAML') { steps { // Running YAML linting on the specified YAML file - sh 'yamllint -c .yamllint .github/workflows/ci-format.yml' + sh 'yamllint -c ${WORKSPACE}/.yamllint .github/workflows/ci-format.yml' } } }