From 7e6880f28d5da45a209d97fc6ffee91c7e29e169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lino?= Date: Wed, 15 Apr 2020 10:56:23 +0100 Subject: [PATCH] Add a test Jenkinsfile to trigger the Jenkins pipeline. --- Jenkinsfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..32392cd --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,22 @@ +pipeline { + environment { + BRANCH_TO_DEPLOY = "master" + } + agent none + stages { + stage('Deploy') { + agent { + label 'docker' + } + when { + branch "${BRANCH_TO_DEPLOY}" + } + steps { + withCredentials() { + // Just get helm3 for testing + sh 'wget https://get.helm.sh/helm-v3.0.3-linux-amd64.tar.gz https://get.helm.sh/helm-v3.0.3-linux-amd64.tar.gz.sha256' + } + } + } + } +} \ No newline at end of file -- 2.24.1