This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Jenkins.instance.pluginManager.activePlugins.sort { it.shortName }.each { plugin -> | |
| def manifest = plugin.manifest | |
| String groupId = manifest.mainAttributes.getValue('Group-Id') | |
| String artifactId = manifest.mainAttributes.getValue('Extension-Name') | |
| String version = manifest.mainAttributes.getValue('Implementation-Version') | |
| if (groupId && artifactId && version) { | |
| println "testPlugins '$groupId:$artifactId:$version'" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am sheehan on github. | |
| * I am sheehan (https://keybase.io/sheehan) on keybase. | |
| * I have a public key whose fingerprint is 0645 9E9D E535 CF66 8238 D1CF D7B8 BAE1 D70A 310F | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| job { | |
| name 'test' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node_version=0.10.26 | |
| node_name=node-v${node_version}-linux-x64 | |
| node_dir=~/jenkins/node | |
| mkdir -p $node_dir | |
| test -f ${node_dir}/${node_name}.tar.gz || wget -P $node_dir http://nodejs.org/dist/v${node_version}/${node_name}.tar.gz | |
| test -f ${node_dir}/${node_name}/bin/node || tar -zxvf ${node_dir}/${node_name}.tar.gz -C $node_dir | |
| export PATH=${node_dir}/${node_name}/bin:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Backbone.Marionette.StackRegion extends Backbone.Marionette.Region | |
| constructor: -> | |
| super | |
| @views = [] | |
| # Return the top view (currently visible) | |
| peek: -> | |
| @views[@views.length - 1] if @views.length |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.grails.plugin.handlebars | |
| import org.mozilla.javascript.Scriptable | |
| import org.mozilla.javascript.Function | |
| import org.mozilla.javascript.Context | |
| import org.mozilla.javascript.tools.shell.Global | |
| class Precompiler { | |
| private Scriptable scope |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| modules = { | |
| core { | |
| defaultBundle 'core' | |
| dependsOn 'jquery, handlebars_runtime' | |
| resource url: '/js/app/core/loader.coffee', bundle: 'core' | |
| resource url: '/js/app/core/main.coffee', bundle: 'core' | |
| resource url: '/css/app/core/mixins.less' | |
| resource url: '/css/app/core/layout.less' | |
| resource url: '/css/app/dummy.css' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var events = ['navigationStart', | |
| 'unloadEventStart', | |
| 'unloadEventEnd', | |
| 'redirectStart', | |
| 'redirectEnd', | |
| 'fetchStart', | |
| 'domainLookupStart', | |
| 'domainLookupEnd', | |
| 'connectStart', | |
| 'connectEnd', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.codehaus.groovy.grails.commons.ConfigurationHolder | |
| import org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequest | |
| import grails.util.Environment | |
| import org.grails.plugins.settings.Setting | |
| class JsonFilters { | |
| def securityService | |
| def filters = { |