diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/build-card-script-helpers.js b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/build-card-script-helpers.js new file mode 100644 index 00000000..22ca1121 --- /dev/null +++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/build-card-script-helpers.js @@ -0,0 +1,7 @@ +Handlebars.registerHelper('startScript', function() { + return new Handlebars.SafeString(""); +}); diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/buildCardHelpers.jelly b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/buildCardHelpers.jelly index 2bf013e3..6e20ffe1 100644 --- a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/buildCardHelpers.jelly +++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension/buildCardHelpers.jelly @@ -7,17 +7,5 @@ By default we just include helpers to append script tags to your build card --> - - Handlebars.registerHelper('startScript', function() { - return new Handlebars.SafeString(""); - }); - - Handlebars.registerHelper('endScript', function() { - return new Handlebars.SafeString(""); - }); - - - ]]> + \ No newline at end of file