Feat: Jenkinsfile
This commit is contained in:
parent
c1ebdf40eb
commit
6dd7d79e38
25
Jenkinsfile
vendored
Normal file
25
Jenkinsfile
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
node {
|
||||
stage('Preparation') {
|
||||
properties([
|
||||
parameters([
|
||||
string(
|
||||
defaultValue: 'Hello World!',
|
||||
description: 'Tekst do wyświetlenie',
|
||||
name: 'INPUT_TEXT',
|
||||
trim: false
|
||||
)
|
||||
])
|
||||
])
|
||||
}
|
||||
stage('Hello') {
|
||||
//Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!)
|
||||
echo "INPUT_TEXT: ${INPUT_TEXT}"
|
||||
//Wywołaj w konsoli komendę "figlet", która generuje ASCI-art
|
||||
sh "figlet \"${INPUT_TEXT}\" | tee output.txt"
|
||||
}
|
||||
stage('Goodbye') {
|
||||
echo 'Goodbye!'
|
||||
//Zarchiwizuj wynik
|
||||
archiveArtifacts 'output.txt'
|
||||
}
|
||||
}
|
16
lab2.ipynb
16
lab2.ipynb
@ -32,8 +32,8 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"%pip install --user kaggle \n",
|
||||
"%pip install --user pandas"
|
||||
"!pip install --user kaggle \n",
|
||||
"!pip install --user pandas"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -92,8 +92,8 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"!find /c /v \"\" \"olympics-124-years-datasettill-2020/Athletes_summer_games.csv\" \n",
|
||||
"#!wc -l olympics-124-years-datasettill-2020/Athletes_summer_games.csv"
|
||||
"#find /c /v \"\" \"olympics-124-years-datasettill-2020/Athletes_summer_games.csv\" \n",
|
||||
"!wc -l olympics-124-years-datasettill-2020/Athletes_summer_games.csv"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -237789,8 +237789,8 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"!type \"olympics-124-years-datasettill-2020\\Athletes_summer_games.csv\"\n",
|
||||
"#!head -n 5 olympics-124-years-datasettill-2020\\Athletes_summer_games.csv"
|
||||
"#!type \"olympics-124-years-datasettill-2020\\Athletes_summer_games.csv\"\n",
|
||||
"!head -n 5 olympics-124-years-datasettill-2020\\Athletes_summer_games.csv"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -237821,7 +237821,7 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"%pip install --user seaborn"
|
||||
"!pip install --user seaborn"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -238644,7 +238644,7 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"olympicsv = olympics[olympics[\"Team\"] != \"China\"].iloc[:100]\n",
|
||||
"olympicsv = olympics[olympics[\"Team\"] != \"China\"].iloc[:10]\n",
|
||||
"sns.relplot(data=olympicsv, x=\"Age\", y=\"Name\", hue=\"Team\")"
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user