aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-07-01 21:42:41 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-07-01 21:42:41 +0300
commitd069a5e517381514a8995fdc964facbcae54bbe7 (patch)
treef405235b294b19562068119399fc4ca6d5ccb7e1
parentea78b456e4101fc84f8852f00c41047aec280ad8 (diff)
downloadlinaro-android-frontend-d069a5e517381514a8995fdc964facbcae54bbe7.tar.gz
Fix regex for parsing Jenkins API values.
-rw-r--r--static/buildDetails.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/buildDetails.js b/static/buildDetails.js
index 2369363..1461b7e 100644
--- a/static/buildDetails.js
+++ b/static/buildDetails.js
@@ -416,7 +416,7 @@ YUI(Yconfig).use(
if (job.queueItem) {
Y.one('#queue-details').removeClass('hidden');
var queueConfig;
- var encodedConfig = job.queueItem.params.replace(/^[\s\S]*CONFIG='([\s\S]*)'$/,'$1');
+ var encodedConfig = job.queueItem.params.replace(/^\s*CONFIG='?(\S*)'?$/,'$1');
try {
queueConfig= Y.Base64.decode(encodedConfig);
} catch (error) {