app.engine('hbs', exphbs({
defaultLayout: 'main',
extname: 'hbs',
helpers:{
jenkinsid: function(value){
//Here I want to run a query to get jenkins id corresponding to value and return.
//Or I can post req and get data.
);
}
}
}));
Task is to fetch corresponding JenkinsID to value passed in helper function and return it to hbs file