From e4c3138aac1d179233ef19d0b4be6103264435db Mon Sep 17 00:00:00 2001 From: recep29 Date: Mon, 16 Sep 2024 13:58:32 +0000 Subject: [PATCH 1/3] =?UTF-8?q?pom.xml=20=20dosyas=C4=B1na=20space=20eklen?= =?UTF-8?q?di?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worker/pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worker/pom.xml b/worker/pom.xml index 15e1b5b5..cb12a6ff 100644 --- a/worker/pom.xml +++ b/worker/pom.xml @@ -6,7 +6,8 @@ worker worker 1.0-SNAPSHOT - + + UTF-8 UTF-8 From ecd9ff7d8e7c86f90b214739041727fdaf1e6617 Mon Sep 17 00:00:00 2001 From: recep29 Date: Mon, 30 Sep 2024 10:52:14 +0000 Subject: [PATCH 2/3] =?UTF-8?q?ana=20klasor=20alt=C4=B1na=20Jenkinsfile=20?= =?UTF-8?q?eklendi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..daa8063f --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,30 @@ +pipeline { + agent any + + stages{ + stage("one"){ + steps{ + echo 'step 1' + sleep 3 + } + } + stage("two"){ + steps{ + echo 'step 2' + sleep 9 + } + } + stage("three"){ + steps{ + echo 'step 3' + sleep 5 + } + } + } + + post{ + always{ + echo 'This pipeline is completed.' + } + } +} From 3ea31edf06efbc0064435913d6ae3928d386dc1f Mon Sep 17 00:00:00 2001 From: recep29 Date: Mon, 30 Sep 2024 12:14:50 +0000 Subject: [PATCH 3/3] =?UTF-8?q?Jenkinsfile=20dosyas=C4=B1na=20when=20ko?= =?UTF-8?q?=C5=9Fulu=20ekklendi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index daa8063f..22953a2f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,13 @@ pipeline { } } stage("three"){ - steps{ + + when{ + branch 'master' + changeset "**/worker/**" + } + + steps{ echo 'step 3' sleep 5 }