From 88c37841182e3550790b2c2f4255474deec05d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ulaniuk?= Date: Sun, 27 Mar 2022 17:07:12 +0200 Subject: [PATCH] Jenkinsfile --- 02_Dane.ipynb | 427 ++++++++++++++---------------------------------- Jenkinsfile.txt | 29 ++++ 2 files changed, 149 insertions(+), 307 deletions(-) create mode 100644 Jenkinsfile.txt diff --git a/02_Dane.ipynb b/02_Dane.ipynb index 2658ef9..7fd4f66 100644 --- a/02_Dane.ipynb +++ b/02_Dane.ipynb @@ -2,64 +2,131 @@ "cells": [ { "cell_type": "code", - "execution_count": 25, + "execution_count": 6, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Requirement already satisfied: kaggle in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (1.5.12)\n", - "Requirement already satisfied: tqdm in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from kaggle) (4.63.0)\n", - "Requirement already satisfied: six>=1.10 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from kaggle) (1.16.0)\n", - "Requirement already satisfied: certifi in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from kaggle) (2021.10.8)\n", - "Requirement already satisfied: urllib3 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from kaggle) (1.26.9)\n", - "Requirement already satisfied: requests in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from kaggle) (2.27.1)\n", - "Requirement already satisfied: python-dateutil in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from kaggle) (2.8.2)\n", - "Requirement already satisfied: python-slugify in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from kaggle) (6.1.1)\n", - "Requirement already satisfied: text-unidecode>=1.3 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from python-slugify->kaggle) (1.3)\n", - "Requirement already satisfied: idna<4,>=2.5 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from requests->kaggle) (3.3)\n", - "Requirement already satisfied: charset-normalizer~=2.0.0 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from requests->kaggle) (2.0.12)\n", - "Requirement already satisfied: colorama in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from tqdm->kaggle) (0.4.4)\n", - "Requirement already satisfied: pandas in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (1.3.5)\n", - "Requirement already satisfied: python-dateutil>=2.7.3 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from pandas) (2.8.2)\n", - "Requirement already satisfied: pytz>=2017.3 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from pandas) (2022.1)\n", - "Requirement already satisfied: numpy>=1.17.3 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from pandas) (1.21.5)\n", - "Requirement already satisfied: six>=1.5 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from python-dateutil>=2.7.3->pandas) (1.16.0)\n", - "Requirement already satisfied: seaborn in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (0.11.2)\n", - "Requirement already satisfied: scipy>=1.0 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from seaborn) (1.7.3)\n", - "Requirement already satisfied: pandas>=0.23 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from seaborn) (1.3.5)\n", - "Requirement already satisfied: matplotlib>=2.2 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from seaborn) (3.5.1)\n", - "Requirement already satisfied: numpy>=1.15 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from seaborn) (1.21.5)\n", - "Requirement already satisfied: fonttools>=4.22.0 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from matplotlib>=2.2->seaborn) (4.31.1)\n", - "Requirement already satisfied: kiwisolver>=1.0.1 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from matplotlib>=2.2->seaborn) (1.4.0)\n", - "Requirement already satisfied: pyparsing>=2.2.1 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from matplotlib>=2.2->seaborn) (3.0.7)\n", - "Requirement already satisfied: cycler>=0.10 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from matplotlib>=2.2->seaborn) (0.11.0)\n", - "Requirement already satisfied: python-dateutil>=2.7 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from matplotlib>=2.2->seaborn) (2.8.2)\n", - "Requirement already satisfied: pillow>=6.2.0 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from matplotlib>=2.2->seaborn) (9.0.1)\n", - "Requirement already satisfied: packaging>=20.0 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from matplotlib>=2.2->seaborn) (21.3)\n", - "Requirement already satisfied: typing-extensions in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from kiwisolver>=1.0.1->matplotlib>=2.2->seaborn) (4.1.1)\n", - "Requirement already satisfied: pytz>=2017.3 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from pandas>=0.23->seaborn) (2022.1)\n", - "Requirement already satisfied: six>=1.5 in c:\\programy\\anaconda3\\envs\\ium\\lib\\site-packages (from python-dateutil>=2.7->matplotlib>=2.2->seaborn) (1.16.0)\n" + "Defaulting to user installation because normal site-packages is not writeable\n", + "Requirement already satisfied: kaggle in \\\\files\\students\\s478855\\.appdata\\python\\python38\\site-packages (1.5.12)\n", + "Requirement already satisfied: tqdm in c:\\software\\python3\\lib\\site-packages (from kaggle) (4.62.1)\n", + "Requirement already satisfied: urllib3 in c:\\software\\python3\\lib\\site-packages (from kaggle) (1.26.6)\n", + "Requirement already satisfied: certifi in c:\\software\\python3\\lib\\site-packages (from kaggle) (2021.5.30)\n", + "Requirement already satisfied: python-dateutil in c:\\software\\python3\\lib\\site-packages (from kaggle) (2.8.2)\n", + "Requirement already satisfied: six>=1.10 in c:\\software\\python3\\lib\\site-packages (from kaggle) (1.15.0)\n", + "Requirement already satisfied: python-slugify in \\\\files\\students\\s478855\\.appdata\\python\\python38\\site-packages (from kaggle) (6.1.1)\n", + "Requirement already satisfied: requests in c:\\software\\python3\\lib\\site-packages (from kaggle) (2.26.0)\n", + "Requirement already satisfied: text-unidecode>=1.3 in \\\\files\\students\\s478855\\.appdata\\python\\python38\\site-packages (from python-slugify->kaggle) (1.3)\n", + "Requirement already satisfied: idna<4,>=2.5 in c:\\software\\python3\\lib\\site-packages (from requests->kaggle) (3.2)\n", + "Requirement already satisfied: charset-normalizer~=2.0.0 in c:\\software\\python3\\lib\\site-packages (from requests->kaggle) (2.0.4)\n", + "Requirement already satisfied: colorama in c:\\software\\python3\\lib\\site-packages (from tqdm->kaggle) (0.4.4)\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "WARNING: You are using pip version 21.2.4; however, version 22.0.4 is available.\n", + "You should consider upgrading via the 'c:\\software\\python3\\python3.exe -m pip install --upgrade pip' command.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Defaulting to user installation because normal site-packages is not writeable\n", + "Requirement already satisfied: pandas in c:\\software\\python3\\lib\\site-packages (1.3.2)\n", + "Requirement already satisfied: pytz>=2017.3 in c:\\software\\python3\\lib\\site-packages (from pandas) (2021.1)\n", + "Requirement already satisfied: python-dateutil>=2.7.3 in c:\\software\\python3\\lib\\site-packages (from pandas) (2.8.2)\n", + "Requirement already satisfied: numpy>=1.17.3 in c:\\software\\python3\\lib\\site-packages (from pandas) (1.19.5)\n", + "Requirement already satisfied: six>=1.5 in c:\\software\\python3\\lib\\site-packages (from python-dateutil>=2.7.3->pandas) (1.15.0)\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "WARNING: You are using pip version 21.2.4; however, version 22.0.4 is available.\n", + "You should consider upgrading via the 'c:\\software\\python3\\python3.exe -m pip install --upgrade pip' command.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Defaulting to user installation because normal site-packages is not writeable" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "WARNING: You are using pip version 21.2.4; however, version 22.0.4 is available.\n", + "You should consider upgrading via the 'c:\\software\\python3\\python3.exe -m pip install --upgrade pip' command.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "Requirement already satisfied: seaborn in \\\\files\\students\\s478855\\.appdata\\python\\python38\\site-packages (0.11.2)\n", + "Requirement already satisfied: numpy>=1.15 in c:\\software\\python3\\lib\\site-packages (from seaborn) (1.19.5)\n", + "Requirement already satisfied: pandas>=0.23 in c:\\software\\python3\\lib\\site-packages (from seaborn) (1.3.2)\n", + "Requirement already satisfied: matplotlib>=2.2 in c:\\software\\python3\\lib\\site-packages (from seaborn) (3.4.3)\n", + "Requirement already satisfied: scipy>=1.0 in c:\\software\\python3\\lib\\site-packages (from seaborn) (1.7.1)\n", + "Requirement already satisfied: python-dateutil>=2.7 in c:\\software\\python3\\lib\\site-packages (from matplotlib>=2.2->seaborn) (2.8.2)\n", + "Requirement already satisfied: pyparsing>=2.2.1 in c:\\software\\python3\\lib\\site-packages (from matplotlib>=2.2->seaborn) (2.4.7)\n", + "Requirement already satisfied: pillow>=6.2.0 in c:\\software\\python3\\lib\\site-packages (from matplotlib>=2.2->seaborn) (8.3.1)\n", + "Requirement already satisfied: kiwisolver>=1.0.1 in c:\\software\\python3\\lib\\site-packages (from matplotlib>=2.2->seaborn) (1.3.1)\n", + "Requirement already satisfied: cycler>=0.10 in c:\\software\\python3\\lib\\site-packages (from matplotlib>=2.2->seaborn) (0.10.0)\n", + "Requirement already satisfied: six in c:\\software\\python3\\lib\\site-packages (from cycler>=0.10->matplotlib>=2.2->seaborn) (1.15.0)\n", + "Requirement already satisfied: pytz>=2017.3 in c:\\software\\python3\\lib\\site-packages (from pandas>=0.23->seaborn) (2021.1)\n", + "Defaulting to user installation because normal site-packages is not writeable\n", + "Collecting torch\n", + " Downloading torch-1.11.0-cp38-cp38-win_amd64.whl (158.0 MB)\n", + "Requirement already satisfied: typing-extensions in c:\\software\\python3\\lib\\site-packages (from torch) (3.7.4.3)\n", + "Installing collected packages: torch\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + " WARNING: The scripts convert-caffe2-to-onnx.exe, convert-onnx-to-caffe2.exe and torchrun.exe are installed in 'j:\\.AppData\\Python\\Python38\\Scripts' which is not on PATH.\n", + " Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\n", + "WARNING: You are using pip version 21.2.4; however, version 22.0.4 is available.\n", + "You should consider upgrading via the 'c:\\software\\python3\\python3.exe -m pip install --upgrade pip' command.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Successfully installed torch-1.11.0\n" ] } ], "source": [ "!pip install kaggle\n", "!pip install pandas\n", - "!pip install seaborn" + "!pip install seaborn\n", + "!pip install torch\n" ] }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 7, "metadata": {}, "outputs": [ { - "name": "stdout", + "name": "stderr", "output_type": "stream", "text": [ - "noshowappointments.zip: Skipping, found more recently modified local copy (use --force to force download)\n" + "'kaggle' is not recognized as an internal or external command,\n", + "operable program or batch file.\n" ] } ], @@ -70,15 +137,15 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 8, "metadata": {}, "outputs": [ { - "name": "stderr", + "name": "stdout", "output_type": "stream", "text": [ - "'unzip' is not recognized as an internal or external command,\n", - "operable program or batch file.\n" + "Archive: noshowappointments.zip\n", + " inflating: KaggleV2-May-2016.csv \n" ] } ], @@ -88,7 +155,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 9, "metadata": {}, "outputs": [ { @@ -364,7 +431,7 @@ "[110527 rows x 14 columns]" ] }, - "execution_count": 28, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -377,7 +444,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 10, "metadata": {}, "outputs": [], "source": [ @@ -391,7 +458,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 11, "metadata": {}, "outputs": [ { @@ -684,7 +751,7 @@ "max 1.000000 NaN " ] }, - "execution_count": 30, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -699,7 +766,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 12, "metadata": {}, "outputs": [ { @@ -708,13 +775,13 @@ "" ] }, - "execution_count": 31, + "execution_count": 12, "metadata": {}, "output_type": "execute_result" }, { "data": { - "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYMAAAEOCAYAAABrSnsUAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAQnUlEQVR4nO3df6zddX3H8efL1iLC+H3HpK20G3WuskyxQcD4CxYoopYt/gDnaAjaGFFwwWmdm2QoiUaFiUETIiCgszJ0oUJdR1CM04DcikELIjflR1tBLpQfIgoU3vvjfKrHcm/vqW3vufQ8H8nN/X4/38/3nM9J2vu853vOaVNVSJIG23P6vQBJUv8ZA0mSMZAkGQNJEsZAkoQxkCRhDKQdIsl1Sd7Z73VIvTIGGihJ7kxyX5LdusbemeS6Pi5L6jtjoEE0DTi934uQphJjoEH0KeADSfba/ECSI5LcmOTh9v2I8W4kyfOSfDnJA0keavP375pyYJLvJ/lVkv9Nsl/XuW9Ksrqdd12Sv2rjJyf5Zte825P8V9f+2iQv3baHLz2TMdAgGgauAz7QPZhkH+Bq4DxgX+Ac4Ook+45zO4uBPYHZbf67gd90HX87cDLwp8CMTfeX5EXAV4H3A0PACuCbSWYA3wVeleQ5SQ5o5x3ezvtzYHfg5j/6kUvjMAYaVB8F3pdkqGvsOOD2qrqsqjZW1VeBnwFvHOc2nqQTgYOq6qmqWlVVj3Qdv7iqfl5VvwEuB17axt8GXF1V11TVk8CngV2BI6pqDfCrNvfVwErgF0leDLwG+F5VPb3Nj17azPR+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DgYep/Nhs4fp/NKiHcjXDAZMkk8Bf0/nk53nV9WjfV6S9DtJdgf+DVhI5+2km35AVVWd07eFDQAvEw2eM+j8xvWvwEe6rsuGzl+4Pfq1MAl4gs7rWrsAu/P7GGgHMwYDpqq8NKgpKclC4Bw6/0zKIVX1WJ+XNFC8TCRpSkjyPeDd/pe3/WEMJEm+m0iSZAwkSRgDSRLGQJKEMZAkAf8PP9ePQZsYa28AAAAASUVORK5CYII=", "text/plain": [ "
" ] @@ -732,7 +799,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 13, "metadata": {}, "outputs": [], "source": [ @@ -746,263 +813,9 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 14, "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
GenderScheduledDayAppointmentDayAgeNeighbourhoodScholarshipHipertensionDiabetesAlcoholismHandcapSMS_receivedNo-show
0F2016-04-29T18:38:08Z2016-04-29T00:00:00Z0.543103JARDIM DA PENHA0100000
1M2016-04-29T16:08:27Z2016-04-29T00:00:00Z0.491379JARDIM DA PENHA0000000
2F2016-04-29T16:19:04Z2016-04-29T00:00:00Z0.543103MATA DA PRAIA0000000
3F2016-04-29T17:29:31Z2016-04-29T00:00:00Z0.077586PONTAL DE CAMBURI0000000
4F2016-04-29T16:07:23Z2016-04-29T00:00:00Z0.491379JARDIM DA PENHA0110000
.......................................
110522F2016-05-03T09:15:35Z2016-06-07T00:00:00Z0.491379MARIA ORTIZ0000010
110523F2016-05-03T07:27:33Z2016-06-07T00:00:00Z0.448276MARIA ORTIZ0000010
110524F2016-04-27T16:03:52Z2016-06-07T00:00:00Z0.189655MARIA ORTIZ0000010
110525F2016-04-27T15:09:23Z2016-06-07T00:00:00Z0.336207MARIA ORTIZ0000010
110526F2016-04-27T13:30:56Z2016-06-07T00:00:00Z0.474138MARIA ORTIZ0000010
\n", - "

110527 rows × 12 columns

\n", - "
" - ], - "text/plain": [ - " Gender ScheduledDay AppointmentDay Age \\\n", - "0 F 2016-04-29T18:38:08Z 2016-04-29T00:00:00Z 0.543103 \n", - "1 M 2016-04-29T16:08:27Z 2016-04-29T00:00:00Z 0.491379 \n", - "2 F 2016-04-29T16:19:04Z 2016-04-29T00:00:00Z 0.543103 \n", - "3 F 2016-04-29T17:29:31Z 2016-04-29T00:00:00Z 0.077586 \n", - "4 F 2016-04-29T16:07:23Z 2016-04-29T00:00:00Z 0.491379 \n", - "... ... ... ... ... \n", - "110522 F 2016-05-03T09:15:35Z 2016-06-07T00:00:00Z 0.491379 \n", - "110523 F 2016-05-03T07:27:33Z 2016-06-07T00:00:00Z 0.448276 \n", - "110524 F 2016-04-27T16:03:52Z 2016-06-07T00:00:00Z 0.189655 \n", - "110525 F 2016-04-27T15:09:23Z 2016-06-07T00:00:00Z 0.336207 \n", - "110526 F 2016-04-27T13:30:56Z 2016-06-07T00:00:00Z 0.474138 \n", - "\n", - " Neighbourhood Scholarship Hipertension Diabetes Alcoholism \\\n", - "0 JARDIM DA PENHA 0 1 0 0 \n", - "1 JARDIM DA PENHA 0 0 0 0 \n", - "2 MATA DA PRAIA 0 0 0 0 \n", - "3 PONTAL DE CAMBURI 0 0 0 0 \n", - "4 JARDIM DA PENHA 0 1 1 0 \n", - "... ... ... ... ... ... \n", - "110522 MARIA ORTIZ 0 0 0 0 \n", - "110523 MARIA ORTIZ 0 0 0 0 \n", - "110524 MARIA ORTIZ 0 0 0 0 \n", - "110525 MARIA ORTIZ 0 0 0 0 \n", - "110526 MARIA ORTIZ 0 0 0 0 \n", - "\n", - " Handcap SMS_received No-show \n", - "0 0 0 0 \n", - "1 0 0 0 \n", - "2 0 0 0 \n", - "3 0 0 0 \n", - "4 0 0 0 \n", - "... ... ... ... \n", - "110522 0 1 0 \n", - "110523 0 1 0 \n", - "110524 0 1 0 \n", - "110525 0 1 0 \n", - "110526 0 1 0 \n", - "\n", - "[110527 rows x 12 columns]" - ] - }, - "execution_count": 32, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "# Normalizacja danych\n", "\n", @@ -1036,7 +849,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.11" + "version": "3.8.10" }, "orig_nbformat": 4 }, diff --git a/Jenkinsfile.txt b/Jenkinsfile.txt new file mode 100644 index 0000000..000b0ec --- /dev/null +++ b/Jenkinsfile.txt @@ -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' + } + } + } +} \ No newline at end of file