This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface JavaFunction<T> { | |
T apply(Object... var1); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.codehaus.groovy.control.CompilerConfiguration | |
import org.codehaus.groovy.runtime.InvokerHelper | |
class Bar { | |
String bar | |
void bar(String bar) { | |
this.bar = bar | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.codehaus.groovy.control.CompilerConfiguration | |
import org.codehaus.groovy.runtime.InvokerHelper | |
class Bar { | |
String bar | |
void bar(String bar) { | |
this.bar = bar | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project(key: 'MYPROJECT', name: 'My project') { | |
plan(key: 'MYPLAN', name: 'My plan') { | |
stage(name: 'My stage') { | |
description 'My stage' | |
manual false | |
job(key: 'BUILD', name: 'Maven build job' ) { | |
tasks { | |
maven3x(goal: 'install') { | |
description 'build plug-in' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
out.println('Starting to create global Git repo...') | |
def gitConfig = chainCreationService.getBuildConfigurationWithDefaults() | |
def user = bambooUserManager.getBambooUser('admin') | |
def enabled = true | |
def webRepositoryKey = null | |
repositoryConfigurationService.createGlobalRepository( | |
'myGlobalRepo', | |
'com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git:git', | |
webRepositoryKey, | |
gitConfig, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>com.atlassian.stash</groupId> | |
<artifactId>stash-rest-common</artifactId> | |
<scope>provided</scope> | |
</dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>com.atlassian.plugins.rest</groupId> | |
<artifactId>atlassian-rest-common</artifactId> | |
<scope>provided</scope> | |
</dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}"> | |
<plugin-info> | |
<description>${project.description}</description> | |
<version>${project.version}</version> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project> | |
<groupId>ch.mibex.stash</groupId> | |
<artifactId>prp</artifactId> | |
<version>1.2.3</version> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl genrsa -out yourkey.pem 1024 | |
openssl rsa -in yourkey.pem -pubout -out yourkey.pub |
OlderNewer