diff --git a/Jenkinsfile b/Jenkinsfile index 96cafbe..f08e0b7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,9 +1,13 @@ pipeline { agent any + stages { stage('Stage 1') { steps { echo 'Hello world!' + checkout scm + sh './data_processing.sh' + archiveArtifacts artifacts: './*' } } } diff --git a/data_processing.sh b/data_processing.sh new file mode 100644 index 0000000..799e5ff --- /dev/null +++ b/data_processing.sh @@ -0,0 +1 @@ +head -n 10 example_data.txt > processed_data.txt \ No newline at end of file