Jenkinsfile added
This commit is contained in:
parent
175a1aba6f
commit
c096c71856
29
Jenkinsfile
vendored
Normal file
29
Jenkinsfile
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
//Definijuemy parametry, które będzie można podać podczas wywoływania zadania
|
||||||
|
parameters {
|
||||||
|
string (
|
||||||
|
defaultValue: 'Hello World!',
|
||||||
|
description: 'Tekst, którym chcesz przywitać świat',
|
||||||
|
name: 'INPUT_TEXT',
|
||||||
|
trim: false
|
||||||
|
)
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('Hello') {
|
||||||
|
steps {
|
||||||
|
//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!') {
|
||||||
|
steps {
|
||||||
|
echo 'Goodbye!'
|
||||||
|
//Zarchiwizuj wynik
|
||||||
|
archiveArtifacts 'output.txt'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
10
tesy.py
10
tesy.py
@ -1,10 +0,0 @@
|
|||||||
# cars = pd.read_csv('Car_Prices_Poland_Kaggle.csv')
|
|
||||||
# cars_normalized = normalize_dataset(cars)
|
|
||||||
#
|
|
||||||
# # cars[["mark", "price"]].groupby("mark").mean().plot(kind="bar")
|
|
||||||
# cars["mark"].value_counts().plot(kind="bar")
|
|
||||||
#
|
|
||||||
# print(cars.describe(include='all'))
|
|
||||||
# print(cars["price"].value_counts())
|
|
||||||
#
|
|
||||||
# divide_dataset(cars)
|
|
Loading…
Reference in New Issue
Block a user