diff --git a/Jenkinsfile2 b/Jenkinsfile2 new file mode 100644 index 0000000..9f16f1e --- /dev/null +++ b/Jenkinsfile2 @@ -0,0 +1,25 @@ +pipeline { + agent any + stages { + stage('Check out from version control') { + steps { + checkout scm + } + } + + stage('Shell Script') { + steps { + sh '''#!/bin/bash + sh './script.sh' + ''' + } + } + + + + +} +} + + + diff --git a/lab2.ipynb b/lab2.ipynb index a611b44..55847a8 100644 --- a/lab2.ipynb +++ b/lab2.ipynb @@ -1870,7 +1870,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "Python 3", "language": "python", "name": "python3" }, @@ -1884,7 +1884,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.10" + "version": "3.8.8" } }, "nbformat": 4, diff --git a/script.sh b/script.sh new file mode 100644 index 0000000..1dbe326 --- /dev/null +++ b/script.sh @@ -0,0 +1,4 @@ +#!/bin/sh +kaggle datasets download -d uciml/red-wine-quality-cortez-et-al-2009 +unzip -o red-wine-quality-cortez-et-al-2009.zip > data.txt +head data.txt \ No newline at end of file