Added second jenkinsfile

This commit is contained in:
Adrian Charkiewicz 2022-03-24 17:03:41 +01:00
parent 35b066bc73
commit 13cd640205
3 changed files with 31 additions and 2 deletions

25
Jenkinsfile2 Normal file
View File

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

View File

@ -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,

4
script.sh Normal file
View File

@ -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