blueocean-plugin/blueocean-config
Vivek Pandey c9ad47e4d2 [maven-release-plugin] prepare for next development iteration 2017-01-11 09:27:29 -08:00
..
src/main [FIX JENKINS-39625] Page preloading with pipeline state - Runs (#613) 2016-12-15 15:50:42 +00:00
.editorconfig task/jenkins 37715 npm shrinkwrap (#493) 2016-09-15 08:58:32 -04:00
.mvn_exec_node [FIX JENKINS-38013] Fix bloated JavaScript bundles (#569) 2016-10-24 11:13:41 +01:00
LICENSE.txt Task/jenkins 36229 (#405) 2016-08-17 12:00:17 -07:00
README.md Task/jenkins 36229 (#405) 2016-08-17 12:00:17 -07:00
npm-shrinkwrap.json [JENKINS-39891] i18n plugin for Blue Ocean (#621) 2016-11-30 13:18:10 -08:00
package.json [JENKINS-39891] i18n plugin for Blue Ocean (#621) 2016-11-30 13:18:10 -08:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-01-11 09:27:29 -08:00

README.md

BlueOcean Config plugin

BlueOcean configuration

BlueOcean configuration is injected as $blueOceanConfig JS object. It's in the following JSON format:

{
   "version" : "1.0-alpha-7-SNAPSHOT (private-33ee8e40-vivek)",
   "jenkinsConfig" : {
      "version" : "2.2",
      "security" : {
         "authorizationStrategy" : {
            "allowAnonymousRead" : true
         },
         "enabled" : true
      }
   }
}

RollBar

  • Enable RollBar

RollBar is disabled by default. Use BLUEOCEAN_ROLLBAR_ENABLED JVM property to enable.

mvn hpi:run -DBLUEOCEAN_ROLLBAR_ENABLED=true

Usage ...

try {
    foo();
    $blueocean_Rollbar.debug('foo() called');
} catch (e) {
    $blueocean_Rollbar.error('Problem calling foo()', e);
}