commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
a64a01f8778ee19e6f535e092cb102134ae244dd
pipelines/dax/docker/build_imgserv.groovy
pipelines/dax/docker/build_imgserv.groovy
node('jenkins-master') { dir('jenkins-dm-jobs') { checkout([ $class: 'GitSCM', branches: scm.getBranches(), userRemoteConfigs: scm.getUserRemoteConfigs(), changelog: false, poll: false ]) notify = load 'pipelines/lib/notify.groovy' util = load 'pipelines/lib/util.groovy' ...
node('jenkins-master') { dir('jenkins-dm-jobs') { checkout([ $class: 'GitSCM', branches: scm.getBranches(), userRemoteConfigs: scm.getUserRemoteConfigs(), changelog: false, poll: false ]) notify = load 'pipelines/lib/notify.groovy' util = load 'pipelines/lib/util.groovy' ...
Break docker build for imgserv into build/test/publish stages
Break docker build for imgserv into build/test/publish stages
Groovy
apache-2.0
jhoblitt/jenkins-dm-jobs,lsst-sqre/jenkins-dm-jobs
20d9ab7a1f1b6c4a8c26b535e92a6f3d3d7a2042
swagger-models/src/test/groovy/com/mangofactory/swagger/models/property/bean/BeanModelPropertyProviderSpec.groovy
swagger-models/src/test/groovy/com/mangofactory/swagger/models/property/bean/BeanModelPropertyProviderSpec.groovy
package com.mangofactory.swagger.models.property.bean import com.fasterxml.classmate.ResolvedType import com.fasterxml.classmate.TypeResolver import com.fasterxml.jackson.databind.ObjectMapper import com.mangofactory.swagger.mixins.ModelPropertyLookupSupport import com.mangofactory.swagger.mixins.TypesForTestingSuppor...
package com.mangofactory.swagger.models.property.bean import com.fasterxml.classmate.ResolvedType import com.fasterxml.classmate.TypeResolver import com.fasterxml.jackson.databind.ObjectMapper import com.mangofactory.swagger.mixins.ModelPropertyLookupSupport import com.mangofactory.swagger.mixins.TypesForTestingSuppor...
Add propertiesForDeserialization to the test
Add propertiesForDeserialization to the test
Groovy
apache-2.0
ammmze/swagger-springmvc,maksimu/springfox,zhiqinghuang/springfox,jlstrater/springfox,cbornet/springfox,jlstrater/springfox,arshadalisoomro/springfox,thomsonreuters/springfox,maksimu/springfox,vmarusic/springfox,arshadalisoomro/springfox,kevinconaway/springfox,RobWin/springfox,cbornet/springfox,zorosteven/springfox,tho...
a81fec1804fb5cb9b4c0ac9856905cb4c5f2016e
src/test/steps/gvm/broadcast_steps.groovy
src/test/steps/gvm/broadcast_steps.groovy
package gvm import static cucumber.api.groovy.EN.* Given(~'^no prior Broadcast was received$') { -> broadcastFile.delete() assert ! broadcastFile.exists() } Given(~'^a new Broadcast "([^"]*)" is available$') { String broadcast -> assert true } Given(~'^a prior Broadcast "([^"]*)" was issued$') { String broadcast...
package gvm import static cucumber.api.groovy.EN.* import static gvm.VertxUtils.getLIVE_BROADCAST Given(~'^no prior Broadcast was received$') { -> broadcastFile.delete() assert ! broadcastFile.exists() } Given(~'^a new Broadcast "([^"]*)" is available$') { String broadcast -> println "A new broadcast is availa...
Use dry vertx utils live broadcast to assert live broadcast message.
Use dry vertx utils live broadcast to assert live broadcast message.
Groovy
apache-2.0
DealerDotCom/gvm-cli,nobeans/gvm-cli,sdkman/sdkman-cli,DealerDotCom/gvm-cli,busches/gvm-cli,gvmtool/gvm-cli,skpal/sdkman-cli,GsusRecovery/sdkman-cli,GsusRecovery/sdkman-cli,nobeans/gvm-cli,jbovet/gvm,skpal/sdkman-cli,shanman190/sdkman-cli
9247d0ad9878d2fe3ff93c60bb01e9609585d359
src/it/mexec-70/verify.groovy
src/it/mexec-70/verify.groovy
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
Adjust IT: ExecMojo seems to use absolutePath instead of canonicalPath
Adjust IT: ExecMojo seems to use absolutePath instead of canonicalPath git-svn-id: a42be30bf39bb82b816ad91cda7e6b839e90f325@14712 52ab4f32-60fc-0310-b215-8acea882cd1b
Groovy
apache-2.0
mojohaus/exec-maven-plugin,ninthnails/exec-maven-plugin,mohanaraosv/exec-maven-plugin,mohanaraosv/exec-maven-plugin,mojohaus/exec-maven-plugin,ninthnails/exec-maven-plugin
02ce38372b899e2a3e071131935101f682fcc4d9
test/cli/grails/plugin/databasemigration/DbmValidateTests.groovy
test/cli/grails/plugin/databasemigration/DbmValidateTests.groovy
/* Copyright 2010-2012 SpringSource. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
/* Copyright 2010-2012 SpringSource. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Make DbmValidate script work with multiple dataSources. Added multiple datasource tests as well.
Make DbmValidate script work with multiple dataSources. Added multiple datasource tests as well.
Groovy
apache-2.0
zyro23/grails-database-migration,reachlocal/grails-database-migration,carlo-colombo/grails-database-migration,hbfernandes/grails-database-migration,pjagielski/grails-database-migration,ColinHarrington/grails-database-migration,aaronzirbes/grails-database-migration,jako512/grails-database-migration,jerrydboonstra/grails...
484b2c967aea7ffaff8dc0312abb27c1e9adfee6
dataeng/jobs/analytics/LoadVideoToVertica.groovy
dataeng/jobs/analytics/LoadVideoToVertica.groovy
package analytics import static org.edx.jenkins.dsl.AnalyticsConstants.common_multiscm import static org.edx.jenkins.dsl.AnalyticsConstants.common_parameters import static org.edx.jenkins.dsl.AnalyticsConstants.to_date_interval_parameter import static org.edx.jenkins.dsl.AnalyticsConstants.common_log_rotator import sta...
package analytics import static org.edx.jenkins.dsl.AnalyticsConstants.common_multiscm import static org.edx.jenkins.dsl.AnalyticsConstants.common_parameters import static org.edx.jenkins.dsl.AnalyticsConstants.to_date_interval_parameter import static org.edx.jenkins.dsl.AnalyticsConstants.common_log_rotator import sta...
Fix load video to vertica job import
Fix load video to vertica job import
Groovy
agpl-3.0
edx/jenkins-job-dsl
bd2ea6bdfec0c20342bcfd490ebf9fdcc1bfa8dc
lib/WorkflowSraDownload.groovy
lib/WorkflowSraDownload.groovy
// // This file holds functions specific to the workflow/sra_download.nf in the nf-core/rnaseq pipeline // class WorkflowSraDownload { // // Print a warning after SRA download has completed // public static void sraDownloadWarn(log) { log.warn "=================================================...
// // This file holds functions specific to the workflow/sra_download.nf in the nf-core/rnaseq pipeline // class WorkflowSraDownload { // // Check and validate parameters // public static void initialise(params, log, valid_params) { // Check minimal ENA fields are provided to download FastQ fi...
Add Groovy function to check --ena_metadata_fields
Add Groovy function to check --ena_metadata_fields
Groovy
mit
ewels/NGI-RNAseq,ewels/NGI-RNAseq,ewels/NGI-RNAseq,ewels/NGI-RNAseq,ewels/NGI-RNAseq
d5396fc1da9a4cf73af0cd1a2ecebc80ccddceb0
src/main/groovy/de/stups/slottool/data/entities/Course.groovy
src/main/groovy/de/stups/slottool/data/entities/Course.groovy
package de.stups.slottool.data.entities class Course extends Entity{ int id String short_name String long_name String degree int po Date created_at Date updated_at Set<Level> levels String kzfa Set<Module> modules String key Integer credit_points def Course(int id, ...
package de.stups.slottool.data.entities class Course extends Entity{ int id String short_name String long_name String degree int po Date created_at Date updated_at Set<Level> levels String kzfa Set<Module> modules String key Integer credit_points def Course(int id, ...
Make course.name just return course.key to ensure a uniform representation
Make course.name just return course.key to ensure a uniform representation
Groovy
isc
plues/model-generator,plues/model-generator
9e9a97fc7a344b63672e3e738a2ac1710ada64e5
src/test/groovy/sdkman/support/UnixUtils.groovy
src/test/groovy/sdkman/support/UnixUtils.groovy
package sdkman.support class UnixUtils { static getPlatform() { asSdkmanPlatform(System.getProperty("os.name")) } static asSdkmanPlatform(platform) { def result switch (platform) { case "Mac OSX": result = "Darwin" break case ...
package sdkman.support class UnixUtils { static getPlatform() { asSdkmanPlatform(System.getProperty("os.name")) } static asSdkmanPlatform(platform) { def result switch (platform) { case "Mac OS X": result = "Darwin" break case...
Fix wrong os.name for Mac OS X
Fix wrong os.name for Mac OS X
Groovy
apache-2.0
gvmtool/gvm-cli,sdkman/sdkman-cli
22015a92388fc93d8f40e0153bda625e8647ff96
JasperGrailsPlugin.groovy
JasperGrailsPlugin.groovy
class JasperGrailsPlugin { def version = "1.9.0-SNAPSHOT" def grailsVersion = "2.1.0 > *" def author = "Craig Andrews" def authorEmail = "candrews@integralblue.com" def license = "Apache License 2.0" def issueManagement = [system: "JIRA", url: "http://jira.grails.org/browse/GPJASPER"] def sc...
class JasperGrailsPlugin { def version = "1.9.0" def grailsVersion = "2.1.0 > *" def author = "Craig Andrews" def authorEmail = "candrews@integralblue.com" def license = "Apache License 2.0" def issueManagement = [system: "JIRA", url: "http://jira.grails.org/browse/GPJASPER"] def scm = [url:...
Set the version to 1.9.0
Set the version to 1.9.0
Groovy
apache-2.0
candrews/grails-jasper,candrews/grails-jasper
98377dd626867fa60f00be3bed96e448b264a922
grails-app/conf/BuildConfig.groovy
grails-app/conf/BuildConfig.groovy
grails.project.work.dir = 'target' grails.project.dependency.resolver = 'maven' grails.project.dependency.resolution = { inherits 'global' log 'warn' repositories { mavenLocal() grailsCentral() mavenCentral() } plugins { build ':release:3.0.1', ':rest-client-builder:2.0.3', { export = false } co...
grails.project.work.dir = 'target' grails.project.dependency.resolver = 'maven' grails.project.dependency.resolution = { inherits 'global' log 'warn' repositories { mavenLocal() grailsCentral() mavenCentral() } plugins { build ':release:3.0.1', ':rest-client-builder:2.0.3', { export = false } co...
Add needed hibernate dependency back
Add needed hibernate dependency back
Groovy
mit
MayGo/grails-scaffold-angular,MayGo/grails-scaffold-angular,MayGo/grails-scaffold-angular
70c4da239561769c23aa3cbcaf3b9f4edc97ab7b
scripts/configure-slack.groovy
scripts/configure-slack.groovy
def slack = Jenkins.instance.getExtensionList( jenkins.plugins.slack.SlackNotifier.DescriptorImpl.class )[0] //valid tokens for testing in the jenkins-slack-plugin-test instance of slack.com def params = [ slackTeamDomain: "jenkins-slack-plugin", slackToken: "xaMSYVZ0GgGbAzIOhqN2fviO", slackRoom: "#slack-plugin...
def slack = Jenkins.instance.getExtensionList( jenkins.plugins.slack.SlackNotifier.DescriptorImpl.class )[0] //valid tokens for testing in the jenkins-slack-plugin-test instance of slack.com def params = [ slackTeamDomain: 'jenkins-slack-plugin', slackToken: 'jfG4cs9hT6QsRON2ocwXx980', slackRoom: '#slack-plugin...
Update the slackToken to be trogdor slack
Update the slackToken to be trogdor slack integration user
Groovy
apache-2.0
samrocketman/jenkins-bootstrap-slack,samrocketman/jenkins-bootstrap-slack
6ea48f3e7712c6e63187ed8c40f8921b493e4a41
src/main/groovy/edu/oregonstate/mist/restpr/resources/SeasonResource.groovy
src/main/groovy/edu/oregonstate/mist/restpr/resources/SeasonResource.groovy
package edu.oregonstate.mist.restpr.resources import com.google.common.base.Optional import edu.oregonstate.mist.restpr.api.ErrorPOJO import edu.oregonstate.mist.restpr.api.Season import edu.oregonstate.mist.restpr.api.User import edu.oregonstate.mist.restpr.db.SeasonDAO; import edu.oregonstate.mist.restpr.db.UserDAO...
package edu.oregonstate.mist.restpr.resources import com.google.common.base.Optional import edu.oregonstate.mist.restpr.api.ErrorPOJO import edu.oregonstate.mist.restpr.api.Season import edu.oregonstate.mist.restpr.api.User import edu.oregonstate.mist.restpr.db.SeasonDAO; import edu.oregonstate.mist.restpr.db.UserDAO...
Add GET /Season/all method with response codes to spec
Add GET /Season/all method with response codes to spec Add GET /Season/all method with response codes to spec
Groovy
agpl-3.0
osu-mist/RestPR
bddabe28d4e4ad9b482c774ab506d045982b3a3a
JcaptchaGrailsPlugin.groovy
JcaptchaGrailsPlugin.groovy
/** * Simplest. Plugin. Class. Ever. * * @author LD <ld@ldaley.com> */ class JcaptchaGrailsPlugin { def title = "Grails JCaptcha Plugin" def description = 'Makes using JCaptcha within a Grails app simple' def author = "Luke Daley" def authorEmail = "ld@ldaley.com" def documentation = "http://grails.org/plugin/...
/** * Simplest. Plugin. Class. Ever. * * @author LD <ld@ldaley.com> */ class JcaptchaGrailsPlugin { def title = "Grails JCaptcha Plugin" def description = 'Makes using JCaptcha within a Grails app simple' def author = "Luke Daley" def authorEmail = "ld@ldaley.com" def documentation = "http://grails.org/plugin/...
Set the version to 1.6.0-SNAPSHOT
Set the version to 1.6.0-SNAPSHOT
Groovy
apache-2.0
candrews/grails-jcaptcha-plugin
9d923123e8d2f8d83bc20508f42c54b609169f39
utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/domain/awareness/CreatedAndUpdatedAware.groovy
utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/domain/awareness/CreatedAndUpdatedAware.groovy
package uk.ac.ox.ndm.grails.utils.domain.awareness /** * @since 09/10/2015 */ trait CreatedAndUpdatedAware { Date dateCreated Date lastUpdated Date getDateCreated() { dateCreated ?: new Date() } Date getLastUpdated() { lastUpdated ?: new Date() } }
package uk.ac.ox.ndm.grails.utils.domain.awareness /** * @since 09/10/2015 */ trait CreatedAndUpdatedAware { Date dateCreated Date lastUpdated }
Revert "Fix the autotimestamp issue which is failing"
Revert "Fix the autotimestamp issue which is failing" This reverts commit 129f123c77a302959669696b039f73d2d857dd15.
Groovy
apache-2.0
olliefreeman/grails-utils,olliefreeman/grails-utils
69a4c6a845b86652e9046286f2dafec553a0f6cd
src/test/resources/source/SourceFile2.groovy
src/test/resources/source/SourceFile2.groovy
/* * Copyright 2008 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
/* * Copyright 2008 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Include example of String and GString method names in test files
Include example of String and GString method names in test files git-svn-id: a6aae24af195bd83d14362654b88bb3939785958@107 58125288-d6d3-43b3-b1ee-2f4d32c6bf4a
Groovy
apache-2.0
darxriggs/CodeNarc,alien11689/CodeNarc,CodeNarc/CodeNarc,CodeNarc/CodeNarc,erdi/CodeNarc,erdi/CodeNarc,alien11689/CodeNarc,darxriggs/CodeNarc,erdi/CodeNarc,alien11689/CodeNarc,erdi/CodeNarc
51c4b6bb7e23e5a3d96b6169f2262c062ab013a1
vars/jplJIRA.groovy
vars/jplJIRA.groovy
/** JIRA management Parameters: * cfg jplConfig class object */ def call(cfg) { } /** Check if the project exists. End job with error if - The project doen't exist in JIRA, and - JIRA_FAIL_ON_ERROR env variable (or failOnError parameter) is set on "true" Parameters: * cfg jplConfig object cfg...
/** JIRA management Parameters: * cfg jplConfig class object */ def call(cfg) { } /** Check if the project exists. End job with error if - The project doen't exist in JIRA, and - JIRA_FAIL_ON_ERROR env variable (or failOnError parameter) is set on "true" Parameters: * cfg jplConfig object cfg...
Test access env variable on function
Test access env variable on function
Groovy
mit
pedroamador/jenkins-pipeline-library,red-panda-ci/jenkins-pipeline-library
6b33369e8ae2605619bc9cf5de3b28f993ef65b0
virtualhomeregistry/grails-app/conf/UrlMappings.groovy
virtualhomeregistry/grails-app/conf/UrlMappings.groovy
class UrlMappings { static mappings = { "/"(controller:"dashboard", action:"welcome") "/myaccount/setup/login-available" { controller="finalization" action="loginAvailable" } "/myaccount/setup/complete" { controller="finalization" action="complete" } "/myaccount/setu...
class UrlMappings { static mappings = { "/"(controller:"dashboard", action:"welcome") "/myaccount/setup/login-available" { controller="finalization" action="loginAvailable" } "/myaccount/setup/complete" { controller="finalization" action="complete" } "/myaccount/setu...
Add initial managedsubject api endpoint mapping
API: Add initial managedsubject api endpoint mapping
Groovy
apache-2.0
ausaccessfed/virtualhome,REANNZ/AAF-VHO,REANNZ/AAF-VHO,University-of-Auckland/AAF-VHO,University-of-Auckland/AAF-VHO,University-of-Auckland/AAF-VHO,REANNZ/AAF-VHO,ausaccessfed/virtualhome
8d8c7a14c7f55ccc6b421959a6e655176e423c9d
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/versions/KotlinGradlePluginVersions.groovy
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/versions/KotlinGradlePluginVersions.groovy
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Remove intermediary Kotlin 1.6 version from smoke tested versions
Remove intermediary Kotlin 1.6 version from smoke tested versions to save some CI time Signed-off-by: Paul Merlin <a027184a55211cd23e3f3094f1fdc728df5e0500@gradle.com>
Groovy
apache-2.0
gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle
cdbff3d2ccd304e50fcdde63d8bbd6a47197a627
src/main/groovy/com/ceilfors/transform/gq/ast/Gq.groovy
src/main/groovy/com/ceilfors/transform/gq/ast/Gq.groovy
package com.ceilfors.transform.gq.ast import org.codehaus.groovy.transform.GroovyASTTransformationClass import java.lang.annotation.ElementType import java.lang.annotation.Retention import java.lang.annotation.RetentionPolicy import java.lang.annotation.Target import com.ceilfors.transform.gq.GqUtils import com.githu...
package com.ceilfors.transform.gq.ast import org.codehaus.groovy.transform.GroovyASTTransformationClass import java.lang.annotation.ElementType import java.lang.annotation.Retention import java.lang.annotation.RetentionPolicy import java.lang.annotation.Target import com.ceilfors.transform.gq.GqUtils import com.githu...
Fix decorator to print arg values.
Fix decorator to print arg values.
Groovy
apache-2.0
yihtserns/groovy-decorator
80efb9feaf882f73256e7f817df550d348900269
grails-app/conf/BuildConfig.groovy
grails-app/conf/BuildConfig.groovy
grails.project.class.dir = "target/classes" grails.project.test.class.dir = "target/test-classes" grails.project.test.reports.dir = "target/test-reports" grails.project.dependency.resolution = { // inherit Grails' default dependencies inherits("global") { // uncomment to disable ehcache // excl...
grails.project.class.dir = "target/classes" grails.project.test.class.dir = "target/test-classes" grails.project.test.reports.dir = "target/test-reports" grails.project.dependency.resolution = { // inherit Grails' default dependencies inherits("global") { // uncomment to disable ehcache // excl...
Update postgresql jdbc driver to version 9.2
Update postgresql jdbc driver to version 9.2
Groovy
apache-2.0
gregopet/grails-postgresql-extensions,kaleidos/grails-postgresql-extensions,lmivan/grails-postgresql-extensions,Poundex/grails-postgresql-extensions,kaleidos/grails-postgresql-extensions,eamon316/grails-postgresql-extensions,PIWEEK/grails-postgresql-extensions,davidbairdala/grails-postgresql-extensions,ilopmar/grails-p...
e18dbd89408d540d1f3690e774a1996011e698ce
profiles/web/skeleton/grails-app/controllers/UrlMappings.groovy
profiles/web/skeleton/grails-app/controllers/UrlMappings.groovy
class UrlMappings { static mappings = { "/bars"(resources:"bar") "/$controller/$action?/$id?(.$format)?"{ constraints { // apply constraints here } } "/"(view:"/index") "500"(view:'/error') } }
class UrlMappings { static mappings = { "/$controller/$action?/$id?(.$format)?"{ constraints { // apply constraints here } } "/"(view:"/index") "500"(view:'/error') } }
Remove code from test application
Remove code from test application
Groovy
apache-2.0
dmahapatro/grails-profile-repository,rlovtangen/grails-profile-repository,hakanernam/grails-profile-repository,burtbeckwith/grails-profile-repository,grails/grails-profile-repository,grails/grails-profile-repository,brunohdeus/grails-profile-repository,rlovtangen/grails-profile-repository,scrain/grails-profile-reposito...
eb3bc986f8b48cb3d59a60c73bdbc4244aa10922
src/test/steps/gvm/aeroplane_mode_steps.groovy
src/test/steps/gvm/aeroplane_mode_steps.groovy
package gvm import cucumber.runtime.PendingException import static cucumber.api.groovy.EN.* final SERVICE_DOWN = "http://localhost:0" final FAKE_JDK_PATH = "/path/to/my/openjdk" Given(~'^the internet is not reachable$') {-> bash = new BashEnv(gvmBaseEnv, [GVM_DIR: gvmDirEnv, GVM_SERVICE: SERVICE_DOWN, JAVA_HOME...
package gvm import static cucumber.api.groovy.EN.And import static cucumber.api.groovy.EN.Given final SERVICE_DOWN = "http://localhost:0" final FAKE_JDK_PATH = "/path/to/my/openjdk" And(~'^offline mode is disabled$') {-> forceOffline = false } And(~'^offline mode is enabled$') {-> forceOffline = true } Giv...
Introduce forced offline mode step defs, extract environment initialisation to private method.
Introduce forced offline mode step defs, extract environment initialisation to private method.
Groovy
apache-2.0
shanman190/sdkman-cli,nobeans/gvm-cli,gvmtool/gvm-cli,skpal/sdkman-cli,jbovet/gvm,GsusRecovery/sdkman-cli,DealerDotCom/gvm-cli,sdkman/sdkman-cli,skpal/sdkman-cli,GsusRecovery/sdkman-cli,nobeans/gvm-cli,DealerDotCom/gvm-cli,busches/gvm-cli
0355eb78e1438bf5245bcc200fbe46156354502e
liquibase-core/src/test/groovy/liquibase/util/FileUtilTest.groovy
liquibase-core/src/test/groovy/liquibase/util/FileUtilTest.groovy
package liquibase.util import spock.lang.Specification class FileUtilTest extends Specification { def unzip() { when: def zipFile = new File("liquibase-integration-tests/src/test/resources/packaged-changelog.jar") def outDir = FileUtil.unzip(zipFile) then: outDir.exists()...
package liquibase.util import liquibase.test.TestContext import spock.lang.Specification class FileUtilTest extends Specification { def unzip() { when: def zipFile = new File(TestContext.instance.findIntegrationTestProjectRoot(), "src/test/resources/packaged-changelog.jar") def outDir = F...
Handle test running in maven
Handle test running in maven
Groovy
apache-2.0
lazaronixon/liquibase,vast-engineering/liquibase,mattbertolini/liquibase,C0mmi3/liquibase,instantdelay/liquibase,jimmycd/liquibase,OpenCST/liquibase,foxel/liquibase,C0mmi3/liquibase,balazs-zsoldos/liquibase,instantdelay/liquibase,fossamagna/liquibase,talklittle/liquibase,EVODelavega/liquibase,CoderPaulK/liquibase,pellc...
dfdb5329e6caf5762d337043302d73a7a7003704
src/test/groovy/es/sandbox/spike/connectn/BoardMother.groovy
src/test/groovy/es/sandbox/spike/connectn/BoardMother.groovy
package es.sandbox.spike.connectn /** * Created by jeslopalo on 29/2/16. */ final class BoardMother { public static final SIMPLEST_BOARD_COLUMNS = 2; public static final SIMPLEST_BOARD_ROWS = 2; public static final SIMPLEST_BOARD_CHIPS_TO_WIN = 2; public static final MEDIUM_BOARD_COLUMNS = 10; ...
package es.sandbox.spike.connectn /** * Created by jeslopalo on 29/2/16. */ final class BoardMother { public static final SIMPLEST_BOARD_COLUMNS = 2; public static final SIMPLEST_BOARD_ROWS = 2; public static final SIMPLEST_BOARD_CHIPS_TO_WIN = 2; public static final MEDIUM_BOARD_COLUMNS = 10; ...
Fix bug and add new methods
Fix bug and add new methods
Groovy
mit
jeslopalo/connectn
a9a81e56863a18e41eefcc5b4e6cb674eefa4ec2
grails-app/domain/org/grails/plugin/filterpane/nested/Function.groovy
grails-app/domain/org/grails/plugin/filterpane/nested/Function.groovy
package org.grails.plugin.filterpane.nested import groovy.transform.ToString @ToString(includes=['name']) class Function { String name = 'function' static belongsTo = [Part] static constraints = { } }
package org.grails.plugin.filterpane.nested import groovy.transform.ToString // Temporary fix due to groovy version @ToString(includes='name') class Function { String name = 'function' static belongsTo = [Part] static constraints = { } }
Fix for older groovy version
Fix for older groovy version
Groovy
apache-2.0
Grails-Plugin-Consortium/grails-filterpane
36b02afff28ba0374cec238938480ecd5eb6a496
src/integ/groovy/com/msgilligan/bitcoin/cli/BitcoinJCliSpec.groovy
src/integ/groovy/com/msgilligan/bitcoin/cli/BitcoinJCliSpec.groovy
package com.msgilligan.bitcoin.cli /** * Integration Test Spec for the bitcoinj-cli tool * Assumes bitcoind running on localhost in RegTest mode. * * TODO: We should probably check the command output (eventually) */ class BitcoinJCliSpec extends BaseCLISpec { def "help option"() { when: def r...
package com.msgilligan.bitcoin.cli /** * Integration Test Spec for the bitcoinj-cli tool * Assumes bitcoind running on localhost in RegTest mode. * * TODO: We should probably check the command output (eventually) */ class BitcoinJCliSpec extends BaseCLISpec { def "help option"() { when: def r...
Handle case where blockcount is 0
Handle case where blockcount is 0 (Sometimes this is the first test run)
Groovy
apache-2.0
OmniLayer/OmniJ,OmniLayer/OmniJ,OmniLayer/OmniJ
867b371e8302aa94a685d43973136f489ed1103f
functional-tests/src/test/groovy/FlowSpecs.groovy
functional-tests/src/test/groovy/FlowSpecs.groovy
import geb.spock.GebReportingSpec import pages.app.HomePage import pages.app.SearchPage import pages.external.Accessibility import pages.external.Copyright import pages.external.Disclaimer import pages.external.Privacy import spock.lang.Unroll class FlowSpecs extends GebReportingSpec { @Unroll def "Navigate ...
import geb.spock.GebReportingSpec import pages.app.HomePage import pages.app.SearchPage import pages.external.Accessibility import pages.external.Copyright import pages.external.Disclaimer import pages.external.Privacy import spock.lang.Unroll class FlowSpecs extends GebReportingSpec { @Unroll def "Navigate ...
Put back external link checking in validation.
Put back external link checking in validation.
Groovy
apache-2.0
SethGreylyn/gwells,bcgov/gwells,rstens/gwells,rstens/gwells,bcgov/gwells,bcgov/gwells,SethGreylyn/gwells,rstens/gwells,rstens/gwells,SethGreylyn/gwells,SethGreylyn/gwells,bcgov/gwells
7e4d29194539ab19272d16d1b4e240380b9e5af8
broker/src/main/groovy/com/swisscom/cloud/sb/broker/util/MockFlag.groovy
broker/src/main/groovy/com/swisscom/cloud/sb/broker/util/MockFlag.groovy
package com.swisscom.cloud.sb.broker.util import org.springframework.beans.factory.annotation.Value import org.springframework.stereotype.Component @Component class MockFlag { static Map<String, Boolean> dyndb @Value('${mock.dyndb}') void setFlags(String flag){ dyndb = Eval.me(flag) as Map<Strin...
package com.swisscom.cloud.sb.broker.util import org.springframework.beans.factory.annotation.Value import org.springframework.stereotype.Component @Component class MockFlag { static Map<String, Boolean> dyndb @Value('${mock.dyndb}') void setDyndb(String flags){ dyndb = Eval.me(flags) as Map<Str...
Change setFlag to setDyndb method
Change setFlag to setDyndb method
Groovy
apache-2.0
swisscom/open-service-broker,swisscom/open-service-broker
c4b4442cc3c050acdcc2e6c0fa4c77103c07ea41
webtests/webtests-async/src/test/groovy/woko/webtests/JobManagerTest.groovy
webtests/webtests-async/src/test/groovy/woko/webtests/JobManagerTest.groovy
/* * Copyright 2001-2012 Remi Vankeisbelck * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
/* * Copyright 2001-2012 Remi Vankeisbelck * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Fix Webtests in async to match the new bootstrap module
Fix Webtests in async to match the new bootstrap module
Groovy
apache-2.0
pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko
a7475ee5d2286032dadfe930c4e50a3ada875480
grails-app/conf/UserGroupUrlMappings.groovy
grails-app/conf/UserGroupUrlMappings.groovy
/** * Cytomine @ GIGA-ULG * User: stevben * Date: 10/10/11 * Time: 13:49 */ class UserGroupUrlMappingsd { static mappings = { /* UserGroup */ "/api/user/$user/group"(controller: "restUserGroup") { action = [GET:"list", POST:"save"] } "/api/user/$user/group/$group"(...
/** * Cytomine @ GIGA-ULG * User: stevben * Date: 10/10/11 * Time: 13:49 */ class UserGroupUrlMappings { static mappings = { /* UserGroup */ "/api/user/$user/group"(controller: "restUserGroup") { action = [GET:"list", POST:"save"] } "/api/user/$user/group/$group"(c...
Fix url mapping class bug
Fix url mapping class bug
Groovy
apache-2.0
cytomine/Cytomine-core,cytomine/Cytomine-core,charybdeBE/Cytomine-core,charybdeBE/Cytomine-core,charybdeBE/Cytomine-core,cytomine/Cytomine-core,charybdeBE/Cytomine-core,cytomine/Cytomine-core,cytomine/Cytomine-core,charybdeBE/Cytomine-core,charybdeBE/Cytomine-core,charybdeBE/Cytomine-core,cytomine/Cytomine-core,charybd...
3bd4f91934381d4a11da86d44f34798ef623aa9c
src/test/groovy/org/kt3k/gradle/plugin/coveralls/domain/ServiceInfoTest.groovy
src/test/groovy/org/kt3k/gradle/plugin/coveralls/domain/ServiceInfoTest.groovy
package org.kt3k.gradle.plugin.coveralls.domain import org.junit.Test import static org.junit.Assert.* class ServiceInfoTest { @Test void testConstructor() { ServiceInfo serviceInfo = new ServiceInfo('x-ci', '1729', 'ABCDEF') assertNotNull serviceInfo assertEquals 'x-ci', serviceInfo.serviceName assertEqu...
package org.kt3k.gradle.plugin.coveralls.domain import org.junit.Test import static org.junit.Assert.* class ServiceInfoTest { @Test void testConstructor() { ServiceInfo serviceInfo = new ServiceInfo('x-ci', '1729', 'ABCDEF') assertNotNull serviceInfo assertEquals 'x-ci', serviceInfo.serviceName assertEqu...
Add the tests of equals and hashCode of ServiceInfo
Add the tests of equals and hashCode of ServiceInfo
Groovy
mit
kt3k/coveralls-gradle-plugin
cd78e06d961b59f2a21f1ee86a04209a49b0bbfd
src/main/groovy/edu/oregonstate/mist/mealcard/resources/MealPlanResource.groovy
src/main/groovy/edu/oregonstate/mist/mealcard/resources/MealPlanResource.groovy
package edu.oregonstate.mist.mealcard.resources import com.codahale.metrics.annotation.Timed import edu.oregonstate.mist.api.Resource import edu.oregonstate.mist.api.jsonapi.ResourceObject import edu.oregonstate.mist.api.jsonapi.ResultObject import edu.oregonstate.mist.mealcard.db.MealPlanDAO import javax.ws.rs.GET i...
package edu.oregonstate.mist.mealcard.resources import com.codahale.metrics.annotation.Timed import edu.oregonstate.mist.api.Resource import edu.oregonstate.mist.api.jsonapi.ResourceObject import edu.oregonstate.mist.api.jsonapi.ResultObject import edu.oregonstate.mist.mealcard.db.MealPlanDAO import javax.ws.rs.GET i...
Remove extraneous forward slash in getByOSUID path annotation
Remove extraneous forward slash in getByOSUID path annotation CO-831
Groovy
agpl-3.0
osu-mist/meal-card-api
9bcc2cbe3bf802f4e7b62d74d9d3e335be1628c0
src/main/groovy/toGit/Executor.groovy
src/main/groovy/toGit/Executor.groovy
package toGit import org.codehaus.groovy.control.CompilerConfiguration import org.slf4j.LoggerFactory import toGit.migration.MigrationManager public class Executor { final static log = LoggerFactory.getLogger(this.class) GroovyShell execute(String[] args) { File commandFile = null if (!args)...
package toGit import org.codehaus.groovy.control.CompilerConfiguration import org.slf4j.LoggerFactory import toGit.migration.MigrationManager public class Executor { final static log = LoggerFactory.getLogger(this.class) GroovyShell execute(String[] args) { if (!args) { log.error("Missin...
Fix 127. Add script location to classpath.
Fix 127. Add script location to classpath.
Groovy
mit
Praqma/2git
06ba483dcddb9876c75f3e20c94f785553498544
platform-camel/ihe/hpd/src/test/groovy/org/openehealth/ipf/platform/camel/ihe/hpd/chpidd/ChPiddTestRouteBuilder.groovy
platform-camel/ihe/hpd/src/test/groovy/org/openehealth/ipf/platform/camel/ihe/hpd/chpidd/ChPiddTestRouteBuilder.groovy
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Fix usage of wrong package
Fix usage of wrong package
Groovy
apache-2.0
oehf/ipf,oehf/ipf,oehf/ipf,oehf/ipf
4e26247fd6cc2e2fb4a9b16e91d6ea1f0461ffcc
grails-app/conf/BootStrap.groovy
grails-app/conf/BootStrap.groovy
import org.powertac.common.Broker import org.powertac.common.Competition import org.powertac.common.Product import org.powertac.common.Timeslot import org.powertac.common.enumerations.ProductType import org.powertac.common.Role import org.powertac.common.BrokerRole class BootStrap { def springSecurityService def ...
import org.powertac.DefaultBroker import org.powertac.common.Broker import org.powertac.common.BrokerRole import org.powertac.common.Competition import org.powertac.common.Role class BootStrap { def springSecurityService def simpleGencoService def init = { servletContext -> // Create admin role def ad...
Fix bootstrap for default broker
Fix bootstrap for default broker
Groovy
apache-2.0
powertac/powertac-server,powertac/powertac-server,powertac/powertac-server,powertac/powertac-server
d488b76a7e1097cb2d0f1f08d2556ccc87fa3a1e
src/main/groovy/org/rackspace/gdeproxy/MessageChain.groovy
src/main/groovy/org/rackspace/gdeproxy/MessageChain.groovy
package org.rackspace.gdeproxy /** * An object containing the initial request sent via the make_request method, * and all request/response pairs (Handling objects) processed by * DeproxyEndpoint objects. */ class MessageChain { Request sentRequest Response receivedResponse def defaultHandler d...
package org.rackspace.gdeproxy /** * An object containing the initial request sent via the make_request method, * and all request/response pairs (Handling objects) processed by * DeproxyEndpoint objects. */ class MessageChain { Request sentRequest Response receivedResponse def defaultHandler M...
Add explicit types to method signatures where possible.
Add explicit types to method signatures where possible.
Groovy
mit
rackerlabs/deproxy
1e305b966a5b1977110d4f68362311d4e7dfc584
site/src/site/layouts/iframedoc.groovy
site/src/site/layouts/iframedoc.groovy
/** * This layout accepts the following parameters: * * @param menu the navigation menu * @param pageTitle the page title * @param extraStyles , a list of CSS files to be added in the header * @param scripts , a list of scripts to be imported * @param iframeTarget , the URL of the page to be included as an ifram...
/** * This layout accepts the following parameters: * * @param menu the navigation menu * @param pageTitle the page title * @param extraStyles , a list of CSS files to be added in the header * @param scripts , a list of scripts to be imported * @param iframeTarget , the URL of the page to be included as an ifram...
Use layout inheritance (Groovy 2.3.4)
Use layout inheritance (Groovy 2.3.4)
Groovy
apache-2.0
benignbala/groovy-website,PascalSchumacher/groovy-website,kevintanhongann/groovy-website,rahulsom/sdkman-website,marcoVermeulen/groovy-website,m-ullrich/groovy-website,webkaz/groovy-website,sdkman/sdkman-website,sdkman/sdkman-website,groovy/groovy-website,marcoVermeulen/groovy-website,groovy/groovy-website,rahulsom/sdk...
7d73a1355a24e84cb08f2d5d827a3175b7b2b6a2
groovyNotesFour.groovy
groovyNotesFour.groovy
class groovyNotesFour { static void main(String[] args) { // "Map Literals" // Associative Arrays (aka Hash in Ruby and kinda like Object in JS) def myMap = [ name: 'Andrew', // fine to leave out quotes in key 'age': 24, numbers: [34, 23, 12] ] println myMap['name'] println ...
class groovyNotesFour { static void main(String[] args) { // "Map Literals" // Associative Arrays (aka Hash in Ruby and kinda like Object in JS) def myMap = [ name: 'Andrew', // fine to leave out quotes in key 'age': 24, numbers: [34, 23, 12] ] println myMap['name'] println ...
Add notes about ranges in fourth file
Add notes about ranges in fourth file
Groovy
mit
nbkhope/groovy-notes
c24df328e45fe9456fe24e12fc331b2dd0d6d970
.test-infra/jenkins/job_ReleaseCandidate_Python.groovy
.test-infra/jenkins/job_ReleaseCandidate_Python.groovy
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Increase timeout of beam_PostRelease_Python_Candidate to 6hours
[BEAM-8346] Increase timeout of beam_PostRelease_Python_Candidate to 6hours Fix timeout failure like https://builds.apache.org/job/beam_PostRelease_Python_Candidate/167/. See details in https://issues.apache.org/jira/browse/BEAM-8346. +R: @yifanzou
Groovy
apache-2.0
robertwb/incubator-beam,robertwb/incubator-beam,lukecwik/incubator-beam,robertwb/incubator-beam,apache/beam,chamikaramj/beam,apache/beam,lukecwik/incubator-beam,chamikaramj/beam,apache/beam,robertwb/incubator-beam,apache/beam,chamikaramj/beam,RyanSkraba/beam,chamikaramj/beam,chamikaramj/beam,apache/beam,chamikaramj/bea...
7300056f95320f35f0c6b9a7a7e1eec8d81d52f7
groovy/pr-job-seed-envvars.groovy
groovy/pr-job-seed-envvars.groovy
import groovy.json.* import org.kohsuke.github.GHIssueState import com.cloudbees.jenkins.GitHubRepositoryName import com.coravy.hudson.plugins.github.GithubProjectProperty def github_repo_url = currentJob.getProperty(GithubProjectProperty.class).getProjectUrl() if ( github_repo_url != null ) { out.println 'GitHu...
import groovy.json.* import org.kohsuke.github.GHIssueState import com.cloudbees.jenkins.GitHubRepositoryName import com.coravy.hudson.plugins.github.GithubProjectProperty def github_repo_url = currentJob.getProperty(GithubProjectProperty.class).getProjectUrl() if ( github_repo_url != null ) { out.println 'GitHu...
Remove problematic code. Add log messages
Remove problematic code. Add log messages
Groovy
apache-2.0
saltstack/jenkins-dsl-jobs
6b34721631fa5d1af09bf78b6c61f6e3aacdb8e7
grails-app/conf/Config.groovy
grails-app/conf/Config.groovy
// configuration for plugin testing - will not be included in the plugin zip log4j = { // Example of changing the log pattern for the default console // appender: // //appenders { // console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n') //} error 'org.codehaus.groovy.g...
// configuration for plugin testing - will not be included in the plugin zip log4j = { // Example of changing the log pattern for the default console // appender: // //appenders { // console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n') //} error 'org.codehaus.groovy.g...
Add configuration to specify core configuration properties that are used by Saml user details service.
Add configuration to specify core configuration properties that are used by Saml user details service.
Groovy
apache-2.0
kjb/grails-spring-security-saml
49c6c395ed798cff435a8d90e0f36f0d54ce11b5
profiles/base/commands/test-app.groovy
profiles/base/commands/test-app.groovy
import org.grails.cli.interactive.completers.* description("Runs the applications tests") { usage "grails test-app [TEST NAME]" completer AllClassCompleter synonyms 'test' argument name:"Test Name", description:"The name of the test to run (optional)", required:false flag name:'debug-jvm', target:"...
import org.grails.cli.interactive.completers.* description("Runs the applications tests") { usage "grails test-app [TEST NAME]" completer AllClassCompleter synonyms 'test' argument name:"Test Name", description:"The name of the test to run (optional)", required:false flag name:'debug-jvm' } argum...
Use --tests and --debug-jvm instead of -Dtest.single and -Dtest.debug
Use --tests and --debug-jvm instead of -Dtest.single and -Dtest.debug
Groovy
apache-2.0
rlovtangen/grails-profile-repository,dmahapatro/grails-profile-repository,grails/grails-profile-repository,dmahapatro/grails-profile-repository,rlovtangen/grails-profile-repository,burtbeckwith/grails-profile-repository,dmahapatro/grails-profile-repository,hakanernam/grails-profile-repository,brunohdeus/grails-profile-...
efceb7c293da3f22eabbf4e6113b6c4a67ff22fe
src/test/groovy/bugs/Groovy5185Bug.groovy
src/test/groovy/bugs/Groovy5185Bug.groovy
package groovy.bugs class Groovy5185Bug extends GroovyTestCase { void testShouldNotThrowMethodMissingException() { assertScript ''' enum Foo { foo, bar, baz } List<Closure> closures = [] 5000.times { int index ...
package groovy.bugs class Groovy5185Bug extends GroovyTestCase { void testShouldNotThrowMethodMissingException() { assertScript ''' enum Foo { foo, bar, baz } List<Closure> closures = [] 500.times { int index -...
Reduce nb of concurrent threads for build to pass on Bamboo
GROOVY-5198: Reduce nb of concurrent threads for build to pass on Bamboo
Groovy
apache-2.0
nkhuyu/incubator-groovy,adjohnson916/incubator-groovy,armsargis/groovy,graemerocher/incubator-groovy,groovy/groovy-core,graemerocher/incubator-groovy,jwagenleitner/groovy,pledbrook/incubator-groovy,kidaa/incubator-groovy,yukangguo/incubator-groovy,paulk-asert/groovy,tkruse/incubator-groovy,paplorinc/incubator-groovy,an...
abff9e6368bb74fc7573a21519b3100ba8824b5f
src/test/groovy/ThreadMethodsTest.groovy
src/test/groovy/ThreadMethodsTest.groovy
/* * Copyright 2003-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2003-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Improve unit tests execution time
GROOVY-6081: Improve unit tests execution time With the decreased sleep time the test does not succeed every time on the build server, therefore I increased the sleep time a bit.
Groovy
apache-2.0
eginez/incubator-groovy,antoaravinth/incubator-groovy,bsideup/incubator-groovy,aim-for-better/incubator-groovy,ebourg/groovy-core,gillius/incubator-groovy,sagarsane/incubator-groovy,graemerocher/incubator-groovy,ebourg/incubator-groovy,paulk-asert/groovy,i55ac/incubator-groovy,nkhuyu/incubator-groovy,christoph-frick/gr...
3172e84b275633a2335342e483a0c26c59c34421
src/main/groovy/jetpacker/api/configuration/Container.groovy
src/main/groovy/jetpacker/api/configuration/Container.groovy
package jetpacker.api.configuration import groovy.transform.CompileStatic import groovy.transform.ToString import groovy.util.logging.Slf4j /** * Created by donny on 30/10/16. */ @CompileStatic class Container extends Application { String command List<Volume> volumes List<Port> publishedPorts Map<St...
package jetpacker.api.configuration import groovy.transform.CompileStatic import groovy.transform.ToString import groovy.util.logging.Slf4j /** * Created by donny on 30/10/16. */ @CompileStatic class Container extends Application { String command List<Volume> volumes List<Port> publishedPorts Map<St...
Move properties back to container
Move properties back to container
Groovy
mit
jetpacker/jetpacker-api
b08e7e82ed4065ee6207edf795ba2654e6309b5b
src/groovy/publicshame/SinEntryHelper.groovy
src/groovy/publicshame/SinEntryHelper.groovy
package publicshame import publicshame.SinEntry import publicshame.Team class SinEntryHelper { public static final int MAX_STEP = 15 /** * This method will take a team and create a list of all sins * * @param teamUsed * @return list of all sins assigned no this team * */ pu...
package publicshame class SinEntryHelper { public static final int MAX_STEP = 15 /** * This method will take a team and create a list of all sins * * @param teamUsed * @return list of all sins assigned no this team * */ public static List<SinEntry> generateSinnerList(Team te...
Set to reverse order return
Set to reverse order return
Groovy
mit
ethankhall/archived-projects,ethankhall/archived-projects,ethankhall/archived-projects
f03eeb346e33038729d4c774a50606ab1177d79e
grails-app/conf/BuildConfig.groovy
grails-app/conf/BuildConfig.groovy
grails.project.class.dir = "target/classes" grails.project.test.class.dir = "target/test-classes" grails.project.test.reports.dir = "target/test-reports" //grails.project.war.file = "target/${appName}-${appVersion}.war" grails.project.dependency.resolution = { // inherit Grails' default dependencies inherits( "...
grails.project.class.dir = "target/classes" grails.project.test.class.dir = "target/test-classes" grails.project.test.reports.dir = "target/test-reports" //grails.project.war.file = "target/${appName}-${appVersion}.war" grails.project.dependency.resolution = { // inherit Grails' default dependencies inherits( "...
Update to Release plugin 1.0.1.
Update to Release plugin 1.0.1.
Groovy
apache-2.0
grails-plugins/grails-rabbitmq
d6f60526e5720e3d01356b2bba572ee212e5695d
buildSrc/src/main/groovy/io/minetweak/gradle/DecompileSources.groovy
buildSrc/src/main/groovy/io/minetweak/gradle/DecompileSources.groovy
package io.minetweak.gradle import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction /** * @author Logan Gorence */ class DecompileSources extends DefaultTask { @TaskAction void decompileSources() { def exit = new ProcessHelper().dir(new File("mcp/")) .command("bash"...
package io.minetweak.gradle import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction /** * @author Logan Gorence */ class DecompileSources extends DefaultTask { @TaskAction void decompileSources() { if (new File("mcp/src/").exists()) { state.upToDate() } else { ...
Add in functionality to check if MCP src directory is already in existence, and tell Gradle it's up to date, and skip trying to decompile it.
Add in functionality to check if MCP src directory is already in existence, and tell Gradle it's up to date, and skip trying to decompile it.
Groovy
mit
Minetweak/Minetweak
20fdb4cad0e4c2508f70fbe307f7a433d197c28c
app/plugins/export/grails-app/controllers/aaf/fr/export/ExportController.groovy
app/plugins/export/grails-app/controllers/aaf/fr/export/ExportController.groovy
package aaf.fr.export import grails.converters.* import aaf.fr.foundation.* import groovy.json.JsonSlurper class ExportController { def organization(long id) { def o = Organization.get(id) if(o) { def builder = new groovy.json.JsonBuilder() builder { organization o.structureAsJson() ...
package aaf.fr.export import grails.converters.* import aaf.fr.foundation.* import groovy.json.JsonSlurper class ExportController { def organization(long id) { def o = Organization.get(id) if(o) { def builder = new groovy.json.JsonBuilder() builder { organization o.structureAsJson() ...
Allow export of all SPSSODescriptor data
Allow export of all SPSSODescriptor data
Groovy
apache-2.0
ausaccessfed/federationregistry,University-of-Auckland/federationregistry2-Tuakiri,REANNZ/federationregistry2-Tuakiri,ausaccessfed/federationregistry,University-of-Auckland/federationregistry2-Tuakiri,University-of-Auckland/federationregistry2-Tuakiri,REANNZ/federationregistry2-Tuakiri,REANNZ/federationregistry2-Tuakir...
ae8967f38785779c592edb214fc64ab14bae84de
JasperGrailsPlugin.groovy
JasperGrailsPlugin.groovy
class JasperGrailsPlugin { def version = "1.11.0-SNAPSHOT" def grailsVersion = "2.1.0 > *" def author = "Craig Andrews" def authorEmail = "candrews@integralblue.com" def license = "Apache License 2.0" def issueManagement = [system: "JIRA", url: "http://jira.grails.org/browse/GPJASPER"] def s...
class JasperGrailsPlugin { def version = "1.11.0" def grailsVersion = "2.1.0 > *" def author = "Craig Andrews" def authorEmail = "candrews@integralblue.com" def license = "Apache License 2.0" def issueManagement = [system: "JIRA", url: "http://jira.grails.org/browse/GPJASPER"] def scm = [url...
Set the version to 1.11.0
Set the version to 1.11.0
Groovy
apache-2.0
candrews/grails-jasper,candrews/grails-jasper
ce1021aab0be482d90fa687374532ca895950551
db/migrate/006_Phase2_Elaboration/011_copy_activity_ids.groovy
db/migrate/006_Phase2_Elaboration/011_copy_activity_ids.groovy
class CopyActivtyIdsAndDetails extends edu.northwestern.bioinformatics.bering.Migration { void up() { if (databaseMatches('postgresql')) { // postgresql's UPDATE from SELECT is not ANSI-compatible execute('UPDATE scheduled_events SET activity_id=p.activity_id FROM planned_events...
class CopyActivtyIdsAndDetails extends edu.northwestern.bioinformatics.bering.Migration { void up() { if (databaseMatches('postgresql')) { // postgresql's UPDATE from SELECT is not ANSI-compatible execute('UPDATE scheduled_events SET activity_id=p.activity_id FROM planned_events...
Fix sql type for oracle
Fix sql type for oracle
Groovy
bsd-3-clause
NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc
6ca1d4bed7061c86e919a18a6a8a3d033a036a8d
src/test/groovy/com/github/blindpirate/gogradle/util/ProcessUtilsTest.groovy
src/test/groovy/com/github/blindpirate/gogradle/util/ProcessUtilsTest.groovy
package com.github.blindpirate.gogradle.util import org.junit.Test class ProcessUtilsTest { ProcessUtils processUtils = new ProcessUtils() class Child { static void main(String[] args) { System.out.print('This is stdout') System.err.print('This is stderr') System....
package com.github.blindpirate.gogradle.util import org.junit.Test class ProcessUtilsTest { ProcessUtils processUtils = new ProcessUtils() class Child { static void main(String[] args) { System.out.print('This is stdout') System.err.print('This is stderr') System....
Improve test coverage of ProcessUtils
Improve test coverage of ProcessUtils
Groovy
apache-2.0
gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle,gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle
8c65effbd840406cc1f79695b118218292656e91
sento-plugin/src/main/groovy/io/sento/SentoPlugin.groovy
sento-plugin/src/main/groovy/io/sento/SentoPlugin.groovy
package io.sento import org.gradle.api.Plugin import org.gradle.api.Project public class SentoPlugin implements Plugin<Project> { @Override public void apply(final Project project) { onPrepareDependencies(project) onPrepareTransforms(project) } private static void onPrepareDependencies(final Project ...
package io.sento import org.gradle.api.Plugin import org.gradle.api.Project public class SentoPlugin implements Plugin<Project> { @Override public void apply(final Project project) { onPrepareDependencies(project) onPrepareTransforms(project) } private static void onPrepareDependencies(final Project ...
Use aar for sento-runtime dependency
Use aar for sento-runtime dependency
Groovy
apache-2.0
nsk-mironov/sento,nsk-mironov/sento,nsk-mironov/sento
2383a9cd7dc15dc00c062715c76d320eb29f6794
examples/grails3-hibernate5/src/integration-test/groovy/functional/tests/ProductSpec.groovy
examples/grails3-hibernate5/src/integration-test/groovy/functional/tests/ProductSpec.groovy
package functional.tests import another.Item import grails.testing.mixin.integration.Integration import grails.gorm.transactions.Rollback import groovy.transform.NotYetImplemented import spock.lang.Specification /** * Created by graemerocher on 02/01/2017. */ @Integration class ProductSpec extends Specification { ...
package functional.tests import another.Item import grails.testing.mixin.integration.Integration import grails.gorm.transactions.Rollback import groovy.transform.NotYetImplemented import spock.lang.Specification /** * Created by graemerocher on 02/01/2017. */ @Integration class ProductSpec extends Specification { ...
Remove “@NotYetImplemented // this fails because Grails is overriding the validator “
Remove “@NotYetImplemented // this fails because Grails is overriding the validator “
Groovy
apache-2.0
grails/gorm-hibernate5
abe24fcdf7826c7f45cf9dca12396792d74eeb47
whelktool/scripts/cleanups/2021/06/lxl-3640-add-mimer-uri-identifiers/script.groovy
whelktool/scripts/cleanups/2021/06/lxl-3640-add-mimer-uri-identifiers/script.groovy
Map mimerUriById = [:] new File(scriptDir + '/id-lists').eachFile {f -> String id f.eachLine { String line -> if (line =~ "libris_id:") id = line.replaceFirst(/.*libris_id:/, "").replaceAll(/\W/, "") else if (line =~ /uri:/) { String uri = line.replace("uri:", "").trim(...
Map mimerIdByLibrisId = [:] new File(scriptDir + '/id-lists').eachFile {f -> String librisId f.eachLine { String line -> if (line =~ "libris_id:") librisId = line.replaceFirst(/.*libris_id:/, "").replaceAll(/\W/, "") else if (line =~ /local:/) { String local = line.repl...
Use local identifier instead of URI
Use local identifier instead of URI
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
568a97f9fd382f7d4b740855e002e321072775e9
src/test/groovy/uk/co/littlemike/gishgraph/ddag/git/GitDDag_FetchTests.groovy
src/test/groovy/uk/co/littlemike/gishgraph/ddag/git/GitDDag_FetchTests.groovy
package uk.co.littlemike.gishgraph.ddag.git import groovy.json.internal.Charsets class GitDDag_FetchTests extends GitDDag_TestBase { static String theirCommitId = "their-commit" static byte[] theirCommitData = "Foo & Bar".getBytes(Charsets.UTF_8) def "Fetches commits from other repository"() { gi...
package uk.co.littlemike.gishgraph.ddag.git class GitDDag_FetchTests extends GitDDag_TestBase { static String theirCommitId = "their-commit" static byte[] theirCommitData = utf8("Foo & Bar") def "Fetches commits from other repository"() { given: theirDag.ddag.createInitialCommit(theirCommi...
Tidy up fetch tests to use new helper methods
Tidy up fetch tests to use new helper methods
Groovy
bsd-2-clause
LittleMikeDev/gishgraph
a87f452cd3922d3c45a99bc9fa662222ad518ba5
app/src/main/groovy/lt/vilnius/tvarkau/support/DataSourceSupport.groovy
app/src/main/groovy/lt/vilnius/tvarkau/support/DataSourceSupport.groovy
package lt.vilnius.tvarkau.support import com.zaxxer.hikari.HikariConfig import com.zaxxer.hikari.HikariDataSource import groovy.util.logging.Slf4j import org.dalesbred.Database import org.dalesbred.connection.DataSourceConnectionProvider import org.dalesbred.dialect.PostgreSQLDialect import org.postgresql.ds.PGSimple...
package lt.vilnius.tvarkau.support import com.zaxxer.hikari.HikariConfig import com.zaxxer.hikari.HikariDataSource import groovy.util.logging.Slf4j import org.dalesbred.Database import org.dalesbred.connection.DataSourceConnectionProvider import org.dalesbred.dialect.PostgreSQLDialect import org.postgresql.ds.PGSimple...
Reduce db connection timeout 30s -> 5s
Reduce db connection timeout 30s -> 5s
Groovy
mit
vilnius/tvarkau-vilniu-ms,vilnius/tvarkau-vilniu-ms,vilnius/tvarkau-vilniu-ms
c2981bdf9e62c6a6f109c693d322fc1e0d6d7014
subprojects/base-services/src/test/groovy/org/gradle/internal/classloader/MutableURLClassLoaderTest.groovy
subprojects/base-services/src/test/groovy/org/gradle/internal/classloader/MutableURLClassLoaderTest.groovy
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Fix unit test on java 5.
Fix unit test on java 5.
Groovy
apache-2.0
robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gstevey/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,gstevey...
4cddd0b3b6b2a2361d28fd4a8764fe41c4b5b185
federationcore/grails-app/domain/fedreg/core/AttributeConsumingService.groovy
federationcore/grails-app/domain/fedreg/core/AttributeConsumingService.groovy
/* * A Grails/Hibernate compatible environment for SAML2 metadata types with application specific * data extensions as appropriate. * * Copyright (C) 2010 Australian Access Federation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
/* * A Grails/Hibernate compatible environment for SAML2 metadata types with application specific * data extensions as appropriate. * * Copyright (C) 2010 Australian Access Federation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
Set ACS default to false
Set ACS default to false
Groovy
apache-2.0
REANNZ/federationregistry2-Tuakiri,University-of-Auckland/federationregistry2-Tuakiri,REANNZ/federationregistry2-Tuakiri,REANNZ/federationregistry2-Tuakiri,REANNZ/federationregistry2-Tuakiri,University-of-Auckland/federationregistry2-Tuakiri,ausaccessfed/federationregistry,University-of-Auckland/federationregistry2-Tua...
c4ac2a331ce372fe8b8c1e13e707cb61802fa4e3
provider/pact-jvm-provider-gradle/src/main/groovy/au/com/dius/pact/provider/gradle/PactPluginExtension.groovy
provider/pact-jvm-provider-gradle/src/main/groovy/au/com/dius/pact/provider/gradle/PactPluginExtension.groovy
package au.com.dius.pact.provider.gradle import org.gradle.api.NamedDomainObjectContainer import org.gradle.util.ConfigureUtil /** * Extension object for pact plugin */ class PactPluginExtension { final NamedDomainObjectContainer<GradleProviderInfo> serviceProviders PactPublish publish VerificationRep...
package au.com.dius.pact.provider.gradle import groovy.transform.CompileStatic import org.gradle.api.Action import org.gradle.api.NamedDomainObjectContainer /** * Extension object for pact plugin */ @CompileStatic class PactPluginExtension { final NamedDomainObjectContainer<GradleProviderInfo> serviceProviders...
Allow using pact-jvm-provider-gradle with Kotlin
Allow using pact-jvm-provider-gradle with Kotlin Methods taking Groovy Closure were causing 'Type mismatch' error in Kotlin. Additionally make the extension statically compiled. Fixes #852
Groovy
apache-2.0
DiUS/pact-jvm,DiUS/pact-jvm
0d00e3b776343eeb31636fee676976c1c51cefa3
src/main/groovy/jetpacker/api/service/DockerHub.groovy
src/main/groovy/jetpacker/api/service/DockerHub.groovy
package jetpacker.api.service import jetpacker.api.configuration.Metadata /** * Created by wolf on 13/11/16. */ class DockerHub { String next String previous List<Metadata> results }
package jetpacker.api.service import jetpacker.api.configuration.Metadata /** * Created by wolf on 13/11/16. */ class DockerHub { String next List<Metadata> results }
Remove previous because it is not required by this application.
Remove previous because it is not required by this application.
Groovy
mit
jetpacker/jetpacker-api
1a09c031c47033e24dbc60e778d6d9b2922aec2b
client/src/main/groovy/de/gesellix/docker/client/DockerAsyncConsumer.groovy
client/src/main/groovy/de/gesellix/docker/client/DockerAsyncConsumer.groovy
package de.gesellix.docker.client import de.gesellix.docker.engine.EngineResponse import groovy.util.logging.Slf4j @Slf4j class DockerAsyncConsumer implements Runnable { private EngineResponse response private DockerAsyncCallback callback DockerAsyncConsumer(EngineResponse response, DockerAsyncCallback ...
package de.gesellix.docker.client import de.gesellix.docker.engine.EngineResponse import groovy.util.logging.Slf4j @Slf4j class DockerAsyncConsumer implements Runnable { private EngineResponse response private DockerAsyncCallback callback DockerAsyncConsumer(EngineResponse response, DockerAsyncCallback ...
Handle interruptions for async reads more gracefully.
Handle interruptions for async reads more gracefully.
Groovy
mit
gesellix-docker/docker-client,gesellix-docker/docker-client,gesellix/docker-client,gesellix-docker/docker-client,gesellix-docker/docker-client,gesellix/docker-client,gesellix/docker-client
6ae3bd2172b0a4fe3e5ab7c503249bfa584a333b
buildSrc/src/main/groovy/com/github/okbuilds/okbuck/generator/DotBuckConfigLocalGenerator.groovy
buildSrc/src/main/groovy/com/github/okbuilds/okbuck/generator/DotBuckConfigLocalGenerator.groovy
package com.github.okbuilds.okbuck.generator import com.github.okbuilds.core.model.ProjectType import com.github.okbuilds.core.model.Target import com.github.okbuilds.core.util.ProjectUtil import com.github.okbuilds.okbuck.OkBuckExtension import com.github.okbuilds.okbuck.composer.AndroidBuckRuleComposer import com.gi...
package com.github.okbuilds.okbuck.generator import com.github.okbuilds.core.model.ProjectType import com.github.okbuilds.core.model.Target import com.github.okbuilds.core.util.ProjectUtil import com.github.okbuilds.okbuck.OkBuckExtension import com.github.okbuilds.okbuck.composer.AndroidBuckRuleComposer import com.gi...
Fix alias name when module is in a subfolder
Fix alias name when module is in a subfolder
Groovy
mit
OkBuilds/OkBuck,OkBuilds/OkBuck,aj-michael/okbuck,cwoodwar6/okbuck,Piasy/OkBuck,aj-michael/okbuck,cwoodwar6/okbuck,cwoodwar6/okbuck,seanabraham/OkBuck,Piasy/OkBuck,seanabraham/OkBuck,seanabraham/OkBuck
765e74f212b6e5b4d741734bdbd54cf875518974
subprojects/griffon-cli/src/main/resources/archetypes/default/templates/artifacts/ScriptTests.groovy
subprojects/griffon-cli/src/main/resources/archetypes/default/templates/artifacts/ScriptTests.groovy
/** * Test case for the "@script.name@" Griffon command. */ class @artifact.name@Tests extends AbstractCliTestCase { void testDefault() { execute([ "@script.name@" ]) assertEquals 0, waitForProcess() verifyHeader() // Make sure that the script was found. assertFalse "@art...
/** * Test case for the "@script.name@" Griffon command. */ import griffon.test.AbstractCliTestCase class @artifact.name@Tests extends AbstractCliTestCase { void testDefault() { execute(["@script.name@"]) assertEquals 0, waitForProcess() verifyHeader() // Make sure that the scr...
Fix script testcase template (missing import statement)
Fix script testcase template (missing import statement)
Groovy
apache-2.0
tschulte/griffon,levymoreira/griffon,griffon/griffon,levymoreira/griffon,tschulte/griffon,levymoreira/griffon,griffon/griffon,tschulte/griffon
18f22d5b75416f60c9923b615e2a6a79ec82858a
site/src/site/includes/bottommenu.groovy
site/src/site/includes/bottommenu.groovy
// footer footer(id: 'footer') { div(class: 'row') { div(class: 'clearfix', "&copy; 2012-${Calendar.instance[Calendar.YEAR]} sdkman/GVM is Open Source Software licensed under ${$a(href: 'http://www.apache.org/licenses/LICENSE-2.0.html', 'Apache 2')}") } }
// footer footer(id: 'footer') { div(class: 'row') { div(class: 'clearfix', "&copy; 2012-${Calendar.instance[Calendar.YEAR]} sdkman/GVM is Open Source Software licensed under ${$a(href: 'http://www.apache.org/licenses/LICENSE-2.0.html', 'Apache 2')}") div(class: 'clearfix', "Logos and Additional Des...
Add logo and design credit.
Add logo and design credit.
Groovy
apache-2.0
sdkman/sdkman-website,dmesu/sdkman-website,rahulsom/sdkman-website,rahulsom/sdkman-website,dmesu/sdkman-website,sdkman/sdkman-website
d6c527de0e0139b8c4189df57bad353625e187a6
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/versions/KotlinGradlePluginVersions.groovy
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/versions/KotlinGradlePluginVersions.groovy
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Drop support for Kotlin < 1.4.20
Drop support for Kotlin < 1.4.20 since that still uses the old artifact transforms API.
Groovy
apache-2.0
gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle
7dfcf8f93bf11770fe24f9acda199ee43252c944
grails-app/services/com/chistacoOrNot/JokeService.groovy
grails-app/services/com/chistacoOrNot/JokeService.groovy
package com.chistacoOrNot class JokeService { static transactional = true public List<Joke> nextJokes() { def jokeIds = Joke.withCriteria { projections { property('id') } } def randomList = jokeIds.sort { Math.random() } ...
package com.chistacoOrNot class JokeService { static transactional = false /** * Return two random jokes * * @return two random jokes */ public List<Joke> nextJokes() { def jokes = Joke.withCriteria { sqlRestriction "1=1 order by random()" maxRe...
Return two random jokes with postgres random() function
Return two random jokes with postgres random() function
Groovy
apache-2.0
lmivan/chistaco-or-not,ilopmar/chistaco-or-not
5c1356703a5b085150f675334ff96497eb9b9d3d
netci.groovy
netci.groovy
// Import the utility functionality. import jobs.generation.Utilities; def project = GithubProject def branch = GithubBranchName // Define build string def buildString = '''call "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\VsDevCmd.bat" && build.cmd /p:SkipTests=true''' // Generate the bu...
// Import the utility functionality. import jobs.generation.Utilities; def project = 'dotnet/buildtools' // Define build string def buildString = '''call "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\VsDevCmd.bat" && build.cmd /p:SkipTests=true''' // Generate the builds for debug and releas...
Revert "[Do not Merge] Simplify and move to the branch CI model"
Revert "[Do not Merge] Simplify and move to the branch CI model"
Groovy
mit
schaabs/buildtools,maririos/buildtools,karajas/buildtools,naamunds/buildtools,ericstj/buildtools,dotnet/buildtools,stephentoub/buildtools,joperezr/buildtools,naamunds/buildtools,roncain/buildtools,tarekgh/buildtools,jhendrixMSFT/buildtools,MattGal/buildtools,dotnet/buildtools,chcosta/buildtools,dotnet/buildtools,tarekg...
5cc91dcbae40acef480f97e0ba0056f740c53d77
jobs/buildJobs.groovy
jobs/buildJobs.groovy
import groovy.json.JsonSlurper String basePath = 'grails_jenkins_job_dsl_sample' String repo = 'marhan/grails_jenkins_job_dsl_sample' folder(basePath) { description 'This example shows basic folder/job creation.' } job("$basePath/grails_build") { scm { github repo } triggers { scm 'H/...
import groovy.json.JsonSlurper String basePath = 'grails_jenkins_job_dsl_sample' String repo = 'marhan/grails_jenkins_job_dsl_sample' folder(basePath) { description 'This example shows basic folder/job creation.' } job("$basePath/grails_build") { scm { github repo } triggers { scm 'H/...
Reduce output on console and build all artifacts.
Reduce output on console and build all artifacts.
Groovy
apache-2.0
marhan/grails_jenkins_job_dsl_sample
397d9c33aab0236266befe30f7290f52f79a7fe8
bitcoinj-groovy/src/main/groovy/com/msgilligan/bitcoinj/groovy/categories/CoinCategory.groovy
bitcoinj-groovy/src/main/groovy/com/msgilligan/bitcoinj/groovy/categories/CoinCategory.groovy
package com.msgilligan.bitcoinj.groovy.categories import groovy.transform.CompileStatic import org.bitcoinj.core.Coin import java.math.MathContext import java.math.RoundingMode /** * Add convenience methods to Coin */ @CompileStatic @Category(Coin) class CoinCategory { // Note: this duplicates code in rpc.conv...
package com.msgilligan.bitcoinj.groovy.categories import groovy.transform.CompileStatic import org.bitcoinj.core.Coin import java.math.MathContext import java.math.RoundingMode /** * Add convenience methods to Coin */ @CompileStatic @Category(Coin) class CoinCategory { // Note: this duplicates code in json.con...
Use .value instead of .longValue(), comment fixes.
Use .value instead of .longValue(), comment fixes.
Groovy
apache-2.0
msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons
255bd4021ef1c8510ec216225d163e370e3f5494
lazybones-app/src/main/groovy/uk/co/cacoethes/lazybones/scm/GitAdapter.groovy
lazybones-app/src/main/groovy/uk/co/cacoethes/lazybones/scm/GitAdapter.groovy
package uk.co.cacoethes.lazybones.scm /** * An SCM adapter for git. */ class GitAdapter implements ScmAdapter { @Override String getExclusionsFilename() { return ".gitignore" } /** * Creates a new git repository in the given location by spawning an * external {@code git init} comma...
package uk.co.cacoethes.lazybones.scm /** * An SCM adapter for git. */ class GitAdapter implements ScmAdapter { @Override String getExclusionsFilename() { return ".gitignore" } /** * Creates a new git repository in the given location by spawning an * external {@code git init} comma...
Fix adding of files with git integration.
Fix adding of files with git integration. The integration test for this was occasionally failing. I think it was because the code didn't wait for the external processes to finish before executing the next one. So added some `waitFor()`s in.
Groovy
apache-2.0
ctran/lazybones,pledbrook/lazybones,pledbrook/lazybones-kotlin,danielgrycman/lazybones,danielgrycman/lazybones,pledbrook/lazybones,aaronzirbes/lazybones,pledbrook/lazybones-kotlin,ctran/lazybones
a8db50b51deed874853b72d08037b2232eda060c
module/geb-core/src/test/groovy/geb/interaction/InteractionsSupportSpec.groovy
module/geb-core/src/test/groovy/geb/interaction/InteractionsSupportSpec.groovy
package geb.interaction import geb.test.CrossBrowser import geb.test.GebSpecWithServer @CrossBrowser class InteractionsSupportSpec extends GebSpecWithServer { def "navigators are unpacked in interact block"() { given: html { body { input(id: 'first-input', value: '') input(id: 'second-input', value: ...
package geb.interaction import geb.test.CrossBrowser import geb.test.GebSpecWithServer @CrossBrowser class InteractionsSupportSpec extends GebSpecWithServer { def setup() { html { body { input(id: 'first-input', value: '') input(id: 'second-input', value: '') } } } def "navigators are unpacked ...
Test unpacking defined content in an interact {} block.
Test unpacking defined content in an interact {} block.
Groovy
apache-2.0
kgeis/geb,onBass-naga/geb,pierre-hilt/geb,ntotomanov-taulia/geb,pierre-hilt/geb,madmas/geb,ntotomanov-taulia/geb,madmas/geb,kgeis/geb,geb/geb,madmas/geb,geb/geb,pierre-hilt/geb,menonvarun/geb,kgeis/geb,onBass-naga/geb,menonvarun/geb,menonvarun/geb
8ba781ab42d33a3a35c3e864aaff44c56a658859
test/unit/toulousemusee/GestionnaireSpec.groovy
test/unit/toulousemusee/GestionnaireSpec.groovy
package toulousemusee import grails.test.mixin.TestFor import spock.lang.Specification import spock.lang.Unroll /** * See the API for {@link grails.test.mixin.domain.DomainClassUnitTestMixin} for usage instructions */ @TestFor(Gestionnaire) class GestionnaireSpec extends Specification { @Unroll void "test ...
package toulousemusee import grails.test.mixin.TestFor import spock.lang.Specification import spock.lang.Unroll /** * See the API for {@link grails.test.mixin.domain.DomainClassUnitTestMixin} for usage instructions */ @TestFor(Gestionnaire) class GestionnaireSpec extends Specification { @Unroll void "test ...
Correct method name gestionnaire test
Correct method name gestionnaire test
Groovy
apache-2.0
romain-malet/ToulouseMusee,romain-malet/ToulouseMusee
acdc4b207126d5525cef00e14bea8eeee9e12043
src/main/groovy/nebula/plugin/release/git/semver/SemVerStrategyState.groovy
src/main/groovy/nebula/plugin/release/git/semver/SemVerStrategyState.groovy
/* * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Add another known immutable class
Add another known immutable class
Groovy
apache-2.0
nebula-plugins/nebula-release-plugin
44fab66baca744129ad5f6588d4997726e90fd74
src/main/groovy/com/lesfurets/jenkins/unit/cps/MockPipelineScriptCPS.groovy
src/main/groovy/com/lesfurets/jenkins/unit/cps/MockPipelineScriptCPS.groovy
package com.lesfurets.jenkins.unit.cps import com.lesfurets.jenkins.unit.MockPipelineScript abstract class MockPipelineScriptCPS extends MockPipelineScript implements Serializable { private void writeObject(ObjectOutputStream oos) throws IOException { // binding is defined in non-serializable Script clas...
package com.lesfurets.jenkins.unit.cps import com.lesfurets.jenkins.unit.MockPipelineScript abstract class MockPipelineScriptCPS extends MockPipelineScript implements Serializable { private void writeObject(ObjectOutputStream oos) throws IOException { // binding is defined in non-serializable Script clas...
Remove no longer injected test helper
Remove no longer injected test helper
Groovy
mit
lesfurets/JenkinsPipelineUnit,vitalii-vitrenko/JenkinsPipelineUnit
68b1b5838425864bb3ad8b88db065e0224ffb4c6
authmodel/grails-app/domain/me/ianibbo/authcommon/AuthCommonAffiliation.groovy
authmodel/grails-app/domain/me/ianibbo/authcommon/AuthCommonAffiliation.groovy
package me.ianibbo.authcommon import me.ianibbo.authcommon.*; class AuthCommonAffiliation { AuthCommonUser user AuthCommonOrg org // RefdataValue status; // 0=Pending, 1=Approved, 2=Rejected // RefdataValue role // 0=unspecified, 5=admin static mapping = { table name:'auth_common_affiliation', schem...
package me.ianibbo.authcommon import me.ianibbo.authcommon.*; class AuthCommonAffiliation { AuthCommonUser user AuthCommonOrganisation org // RefdataValue status; // 0=Pending, 1=Approved, 2=Rejected // RefdataValue role // 0=unspecified, 5=admin static mapping = { table name:'auth_common_affiliatio...
Correct class ref to org
Correct class ref to org
Groovy
apache-2.0
ianibo/CommonAuthModelPlugin
3ebf59ef596a47f0fabbb77d62130dd1834d44cc
src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowPlugin.groovy
src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowPlugin.groovy
package com.github.jengelman.gradle.plugins.shadow import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.plugins.ApplicationPlugin import org.gradle.api.plugins.JavaPlugin class ShadowPlugin implements Plugin<Project> { ...
package com.github.jengelman.gradle.plugins.shadow import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.plugins.ApplicationPlugin import org.gradle.api.plugins.JavaPlugin class ShadowPlugin implements Plugin<Project> { ...
Make build scan integration work with multi-project builds
Make build scan integration work with multi-project builds
Groovy
apache-2.0
johnrengelman/shadow,johnrengelman/shadow,johnrengelman/shadow
e6344d20b14da3f078166bbde7ce91a4d95fb53b
subprojects/groovy-console/src/main/groovy/groovy/ui/view/BasicStatusBar.groovy
subprojects/groovy-console/src/main/groovy/groovy/ui/view/BasicStatusBar.groovy
/* * Copyright 2003-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2003-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Add version number to Groovy Console welcome message
Add version number to Groovy Console welcome message
Groovy
apache-2.0
christoph-frick/groovy-core,pickypg/incubator-groovy,christoph-frick/groovy-core,yukangguo/incubator-groovy,jwagenleitner/groovy,apache/groovy,jwagenleitner/groovy,adjohnson916/incubator-groovy,ebourg/incubator-groovy,pickypg/incubator-groovy,graemerocher/incubator-groovy,apache/groovy,samanalysis/incubator-groovy,gill...
6aa3be7512532d69027a01db296ff7f44de9861b
src/main/groovy/com/github/sherter/googlejavaformat/GoogleJavaFormatPluginExtension.groovy
src/main/groovy/com/github/sherter/googlejavaformat/GoogleJavaFormatPluginExtension.groovy
package com.github.sherter.googlejavaformat class GoogleJavaFormatPluginExtension { String toolVersion = '0.1-SNAPSHOT' }
package com.github.sherter.googlejavaformat class GoogleJavaFormatPluginExtension { String toolVersion = '0.1-alpha' }
Change default toolVersion to 0.1-alpha
Change default toolVersion to 0.1-alpha
Groovy
mit
sherter/google-java-format-gradle-plugin,sherter/google-java-format-gradle-plugin
e4cc003f945ad43610937d57562277b9fbfd2d70
config.groovy
config.groovy
vertxVersion = '1.3.1.final' sdkmanVersion = '1.0.0-SNAPSHOT' environments { local { sdkmanService = 'http://localhost:8080' sdkmanBroadcastService = 'http://localhost:8080' sdkmanBrokerService = 'http://localhost:8080' } master { sdkmanService = 'http://dev.sdkman.io' sdkmanBroadcastServ...
vertxVersion = '1.3.1.final' sdkmanVersion = '1.0.0-SNAPSHOT' environments { local { sdkmanService = 'http://localhost:8080' sdkmanBroadcastService = 'http://localhost:8080' sdkmanBrokerService = 'http://localhost:8080' } master { sdkmanService = 'http://dev.sdkman.io' sdkmanBroadcastServ...
Cut over to new sdkman.io domain for broadcast and broker services.
Cut over to new sdkman.io domain for broadcast and broker services.
Groovy
apache-2.0
GsusRecovery/sdkman-cli,skpal/sdkman-cli,busches/gvm-cli,jbovet/gvm,GsusRecovery/sdkman-cli,skpal/sdkman-cli,shanman190/sdkman-cli,gvmtool/gvm-cli,sdkman/sdkman-cli
6215227ecbd3dccd5db9748bc7a8458d3671470e
tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/FormFieldFocusTest.groovy
tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/FormFieldFocusTest.groovy
// Copyright (c) 2011, 2012 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
// Copyright (c) 2011-2013 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
Adjust timing of focus tests to allow for 1/8th second delay
Adjust timing of focus tests to allow for 1/8th second delay
Groovy
apache-2.0
apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5
e47af126d5d3d4bcedc23595e4a4979e564c9064
webtests/webtests-localization/src/test/groovy/woko/webtests/localization/SavePageTest.groovy
webtests/webtests-localization/src/test/groovy/woko/webtests/localization/SavePageTest.groovy
package woko.webtests.localization import woko.webtests.WebTestBase /** * @author Alexis Boissonnat - alexis.boissonnat 'at' gmail.com */ class SavePageTest extends WebTestBase{ void testSavePage(){ webtest('test Save page'){ login() goToPage '/save/MyJavaEntity' v...
package woko.webtests.localization import woko.webtests.WebTestBase /** * @author Alexis Boissonnat - alexis.boissonnat 'at' gmail.com */ class SavePageTest extends WebTestBase{ void testSavePage(){ webtest('test Save page'){ login() goToPage '/save/MyJavaEntity' v...
Fix label field name in tests
Fix label field name in tests
Groovy
apache-2.0
pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko
d3a30c01beeeee62f2cfdeebceee93b71ebf1ea2
subprojects/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/JavaProjectCrossVersionIntegrationTest.groovy
subprojects/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/JavaProjectCrossVersionIntegrationTest.groovy
/* * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Make integ-test tests compatible with Spock2
Make integ-test tests compatible with Spock2 Remove JUnit Test annotations from Spock tests - those cause JUnit engine to try and execute the test as a JUnit test in addition to executing it as a Spock test which results in a failure.
Groovy
apache-2.0
blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,grad...
99960c1498810f917e9655b244cbc681f8b109b5
whelktool/scripts/cleanups/2020/01/lxl-2868.groovy
whelktool/scripts/cleanups/2020/01/lxl-2868.groovy
PrintWriter failedBibIDs = getReportWriter("failed-to-delete-holdIDs") PrintWriter scheduledForDeletion = getReportWriter("scheduled-for-deletion") String where = "id in (" + "select id\n" + "from lddb l\n" + "where (\n" + "data#>'{@graph,0,techni...
PrintWriter failedBibIDs = getReportWriter("failed-to-delete-holdIDs") PrintWriter scheduledForDeletion = getReportWriter("scheduled-for-deletion") String where = "id in (" + "select id\n" + "from lddb l\n" + "where (\n" + "data#>'{@graph,0,techni...
Add an additional condition for deletion in cleanup script.
Add an additional condition for deletion in cleanup script.
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
9e83bb9be98bd8cc0dd595b67f352d814ee744fa
scripts/_Install.groovy
scripts/_Install.groovy
// Write the context.xml file in META-INF and WEB-INF def contextDotXml = """\ <?xml version=\"1.0\" encoding=\"UTF-8\"?> <Context> <Loader delegate=\"true\"/> </Context>""" new File("$basedir/web-app/META-INF/context.xml").write contextDotXml new File("$basedir/web-app/WEB-INF/context.xml").write contextDotXml
// Write the context.xml file in META-INF and WEB-INF def contextDotXml = """\ <?xml version="1.0" encoding="UTF-8"?> <Context> <Loader delegate="true"/> </Context>""" def webAppDir = new File(grailsSettings.baseDir, "web-app") def webInfDir = new File(webAppDir, "WEB-INF") def metaInfDir = new File(webAppDir, "ME...
Add warning on plugin installation if required dirs do not exist.
Add warning on plugin installation if required dirs do not exist. In the case where a project doesn't have web-app/WEB-INF or web-app/META-INF directories, the plugin installation causes an error, but without any information as to why it failed. This change adds a warning and then creates the required directories.
Groovy
apache-2.0
smaldini/grails-events-push,smaldini/grails-events-push
a200d630d43b7e4d0297a6a208b6a6fb5a39cdaf
jobs/clean_builds.groovy
jobs/clean_builds.groovy
import util.Common import org.yaml.snakeyaml.Yaml Common.makeFolders(this) def scipipe = new Yaml().load(readFileFromWorkspace('etc/scipipe/build_matrix.yaml')) import util.CleanBuild [ [ name: 'scipipe/lsst_distrib', products: scipipe.canonical.products, buildDocs: true, seedJob: SEED_JOB, ], ...
import util.Common import org.yaml.snakeyaml.Yaml Common.makeFolders(this) def scipipe = new Yaml().load(readFileFromWorkspace('etc/scipipe/build_matrix.yaml')) import util.CleanBuild [ [ name: 'scipipe/lsst_distrib', products: scipipe.canonical.products, buildDocs: true, seedJob: SEED_JOB, ], ...
Fix syntax for product list
Fix syntax for product list
Groovy
apache-2.0
lsst-sqre/jenkins-dm-jobs,jhoblitt/jenkins-dm-jobs
7d3e53c94cd2a156018c8799d33e96e852b2c14d
spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-fork/verify.groovy
spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-fork/verify.groovy
import static org.junit.Assert.assertTrue def file = new File(basedir, "build.log") assertTrue file.text.contains("I haz been run from '$basedir'") assertTrue file.text.contains("JVM argument(s): -Xverify:none -XX:TieredStopAtLevel=1")
import java.lang.reflect.Method; import static org.junit.Assert.assertTrue def boolean isJava13OrLater() { for (Method method : String.class.getMethods()) { if (method.getName().equals("stripIndent")) { return true; } } return false; } def file = new File(basedir, "build.log") assertTrue file.text.contains...
Fix test expectations for run-fork JVM args on Java 13+
Fix test expectations for run-fork JVM args on Java 13+ Closes gh-17008
Groovy
apache-2.0
dreis2211/spring-boot,rweisleder/spring-boot,chrylis/spring-boot,rweisleder/spring-boot,jxblum/spring-boot,mbenson/spring-boot,chrylis/spring-boot,ilayaperumalg/spring-boot,rweisleder/spring-boot,jxblum/spring-boot,philwebb/spring-boot,dreis2211/spring-boot,Buzzardo/spring-boot,shakuzen/spring-boot,aahlenst/spring-boot...
3a9579db113521023c5e19b48fcc85fed44e2cb3
apps/travel-chef/mysql/mysql-service.groovy
apps/travel-chef/mysql/mysql-service.groovy
/******************************************************************************* * Copyright (c) 2011 GigaSpaces Technologies Ltd. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lic...
/******************************************************************************* * Copyright (c) 2011 GigaSpaces Technologies Ltd. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lic...
Extend mysql vanilla instead of base chef recipe
Extend mysql vanilla instead of base chef recipe
Groovy
apache-2.0
CloudifySource/cloudify-recipes,ngkim/cloudify-recipes,ngkim/cloudify-recipes,CloudifySource/cloudify-recipes,CloudifySource/cloudify-recipes,CloudifySource/cloudify-recipes,ngkim/cloudify-recipes,ngkim/cloudify-recipes,CloudifySource/cloudify-recipes,ngkim/cloudify-recipes,ngkim/cloudify-recipes,CloudifySource/cloudif...
266a0eced513cde29a26dd7ca7f2539026ce4872
src/test/groovy/org/mastercoin/consensus/DataPipeSpec.groovy
src/test/groovy/org/mastercoin/consensus/DataPipeSpec.groovy
package org.mastercoin.consensus import org.mastercoin.CurrencyID import spock.lang.Shared import spock.lang.Specification import spock.lang.Unroll /** * Test specification for ConsensusComparison as used in a Spock Spec */ class DataPipeSpec extends Specification { static ConsensusComparison compareSmall1 = ...
package org.mastercoin.consensus import org.mastercoin.CurrencyID import spock.lang.Shared import spock.lang.Specification import spock.lang.Unroll /** * Test specification for ConsensusComparison as used in a Spock Spec */ class DataPipeSpec extends Specification { static ConsensusComparison compareSmall1 = ...
Add some test data for block height comparison
Add some test data for block height comparison
Groovy
apache-2.0
dexX7/OmniJ,dexX7/bitcoin-spock,dexX7/bitcoin-spock,dexX7/OmniJ,OmniLayer/OmniJ,OmniLayer/OmniJ,OmniLayer/OmniJ
98d6c9140c0de9c7416262424198b694a7254804
src/test/groovy/com/github/blindpirate/gogradle/build/SubprocessReaderTest.groovy
src/test/groovy/com/github/blindpirate/gogradle/build/SubprocessReaderTest.groovy
package com.github.blindpirate.gogradle.build import com.github.blindpirate.gogradle.GogradleRunner import org.junit.Test import org.junit.runner.RunWith import org.mockito.ArgumentCaptor import org.mockito.Mock import org.mockito.invocation.InvocationOnMock import org.mockito.stubbing.Answer import java.util.concurr...
package com.github.blindpirate.gogradle.build import com.github.blindpirate.gogradle.GogradleRunner import org.junit.Test import org.junit.runner.RunWith import org.mockito.ArgumentCaptor import org.mockito.Mock import java.util.concurrent.CountDownLatch import java.util.function.Consumer import java.util.function.Su...
Use anyInt() instead of any(int)
Use anyInt() instead of any(int)
Groovy
apache-2.0
gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle,gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle
65cb2b9a0abaf772fb40e5cebe73075ffd31d37d
sanityChecks.groovy
sanityChecks.groovy
#!groovy pipeline { agent none options { timeout(time: 60, unit: 'MINUTES') } stages { stage('Verify VMAgents templates') { steps { parallel ( failFast: true, 'Custom Ubuntu without init script': { runSanityChecks('...
#!groovy pipeline { agent none options { timeout(time: 60, unit: 'MINUTES') } stages { stage('Verify VMAgents templates') { steps { parallel ( failFast: true, 'Custom Ubuntu without init script (public IP)': { runSa...
Add sanity checks for agents with private IPs
Add sanity checks for agents with private IPs
Groovy
mit
azure-devops/ci
8386373ce3cebc1e17a1297bb864347b27f46048
vars/jplCheckoutSCM.groovy
vars/jplCheckoutSCM.groovy
/** Checkout SCM Get the code from SCM and init / update submodules Leave the repository on the actual branch, instead of "deatached" Parameters: * String targetPlatform one of: - "android": copy debug.keystore from home folder ~/.android/debug.keystore - "": do nothing */ def call(String targetPla...
/** Checkout SCM Get the code from SCM and init / update submodules Leave the repository on the actual branch, instead of "deatached" Parameters: * String targetPlatform one of: - "android": copy debug.keystore from home folder ~/.android/debug.keystore - "": do nothing */ def call(String targetPla...
Set Dockerfile with common library part
Set Dockerfile with common library part
Groovy
mit
pedroamador/jenkins-pipeline-library,red-panda-ci/jenkins-pipeline-library
fbc7492909f02c241b6d9bedbd89a6c7e08c3aed
src/recipes/teamcity.groovy
src/recipes/teamcity.groovy
def env = System.getenv() if (env.CI && env.BUILD_ID && env.BUILD_SERVER_URL && env.BUILD_TYPE_ID && env.BUILD_URL) { buildScan.tag 'CI' buildScan.link "TeamCity Build", env.BUILD_URL buildScan.value "Build ID", env.BUILD_ID }
def env = System.getenv() if (env.TEAMCITY_VERSION) { def version = env.TEAMCITY_VERSION buildScan.tag 'CI' def guest = params.guest?'&guest=1':'' def buildId = System.getProperty('teamcity.agent.dotnet.build_id', null) if (env.BUILD_URL) { buildScan.link "TeamCity $version build", env.BUIL...
Update TeamCity recipe to recognize more cases
Update TeamCity recipe to recognize more cases
Groovy
apache-2.0
melix/gradle-buildscan-recipes
5c0a340037763b5646b8088ce0b3e01df7ee74be
Projects.groovy
Projects.groovy
// Copyright 2016, RadiantBlue Technologies, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
// Copyright 2016, RadiantBlue Technologies, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
Add jobcommon building on the geoint branch
Add jobcommon building on the geoint branch
Groovy
apache-2.0
venicegeo/jenkins
e05e54386b0a783ccb86252c2077bb486961b806
web-app/test/form-echo.gtpl
web-app/test/form-echo.gtpl
<!-- Sleep so users see the activity indicator --> <% Integer delay try{ delay = Integer.parseInt(params.delay.trim()) println delay java.lang.Thread.currentThread().sleep(1000 * delay); } catch(InterruptedException ie){ } %> <div id="form-echo" class="panel" title="Form Echo"> <h2>Req Info</h2> <fieldse...
<!-- Sleep so users see the activity indicator --> <% Integer delay try{ delayStr = params?.delay?.trim() delay = delayStr ? Integer.parseInt(delayStr) : 0 java.lang.Thread.currentThread().sleep(1000 * delay); } catch(InterruptedException ie){ } %> <div id="form-echo" class="panel" title="Form Echo"> <h2>Req...
Fix bug that resulted in Exception when "delay" parameter not sent.
Fix bug that resulted in Exception when "delay" parameter not sent.
Groovy
bsd-3-clause
peterbraden/iUi,peterbraden/iUi,peterbraden/iUi,peterbraden/iUi
019b4693cafca229cc08496e28317471c22d405b
GroovyfxGriffonPlugin.groovy
GroovyfxGriffonPlugin.groovy
/* * Copyright 2010-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2010-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Add source ref to plugin descriptor
Add source ref to plugin descriptor
Groovy
apache-2.0
deanriverson/griffon-groovyfx-plugin
64b67aff0178111474ead8a8661e22379b4472e0
ee-mdd-core/src/main/groovy/ee/mdd/model/Namespace.groovy
ee-mdd-core/src/main/groovy/ee/mdd/model/Namespace.groovy
/* * Copyright 2011-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * Copyright 2011-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Replace dots by slashes also in composed namespaces
Replace dots by slashes also in composed namespaces
Groovy
apache-2.0
eugeis/ee-mdd,eugeis/ee-mdd,eugeis/ee-mdd
780f11ec64d6f95a1986f2f0f4517a1dc1c26d21
grails-app/conf/BuildConfig.groovy
grails-app/conf/BuildConfig.groovy
grails.project.work.dir = "target" grails.project.dependency.resolution = { inherits("global") repositories { grailsHome() mavenRepo "http://download.java.net/maven/2/" } dependencies { compile "javax.mail:mail:1.4.3" runtime("org.springframework:spring-test:3.1.0.RELEA...
grails.project.work.dir = "target" grails.project.dependency.resolution = { inherits("global") repositories { grailsHome() mavenRepo "http://download.java.net/maven/2/" } dependencies { compile "javax.mail:mail:1.4.3" runtime("org.springframework:spring-test:3.1.0.RELEA...
Update the plugins used in this build.
Update the plugins used in this build.
Groovy
apache-2.0
puneetbehl/grails3mail-plugin,gpc/grails-mail,gpc/grails-mail,grails3-plugins/mail
568ffc03d0b152108e7f5d9c6afdd2a179b3b614
src/main/groovy/org/rackspace/gdeproxy/Header.groovy
src/main/groovy/org/rackspace/gdeproxy/Header.groovy
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.rackspace.gdeproxy; /** * * @author richard-sartor * * A simple name-value pair. * */ public class Header { public String name; public String value; public Header(String name, String val...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.rackspace.gdeproxy; /** * * @author richard-sartor * * A simple name-value pair. * */ public class Header { final String name; final String value; public Header(String name, String value...
Make name and value final.
Make name and value final.
Groovy
mit
rackerlabs/deproxy