From 3cbea8c39642399e79a37992260d175ad8fa43ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 15 Aug 2018 13:45:46 -0400 Subject: [PATCH] add parameter definition --- Jenkinsfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index ddcd37b..5b4446b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,12 @@ +properties([ + parameters([ + string( + name: 'APK_URL', + description: 'URL for the Android mobile app release.' + ) + ]) +]) + def website_host = 'node-01.ac-cn-hongkong-c.web.misc.statusim.net' node('linux') { @@ -14,6 +23,7 @@ node('linux') { } stage('Build') { + env.APK_URL = params.APK_URL sh 'npm run build' }