From 8acd0079b02ee3cf8cb069f5a8203335d50a7090 Mon Sep 17 00:00:00 2001 From: s407323 Date: Fri, 26 Apr 2019 13:16:15 +0200 Subject: [PATCH] test python script in jenkinsfile --- Jenkinsfile | 3 +-- zadanie3/script.py | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 zadanie3/script.py diff --git a/Jenkinsfile b/Jenkinsfile index 70fd2f1..2eb3768 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,8 +30,7 @@ pipeline { stage('Zadanie 3 - Metryki') { steps { - sh 'gcc --version' - sh 'git --version' + sh 'python3 ./zadanie3/script.py' } } } diff --git a/zadanie3/script.py b/zadanie3/script.py new file mode 100644 index 0000000..0f9a55e --- /dev/null +++ b/zadanie3/script.py @@ -0,0 +1,4 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +print 'Hello, world!' \ No newline at end of file