Rate this page:
Bamboo 2.3 includes several improvements as well as new plugin points for developers. This page will be updated with details on these changes shortly.
The following abstract method on the Command class has been deprecated
1
public Commandline getCommandLine(ReadOnlyCapabilitySet capabilitySet)
This will effect plugins who extend this class directly or extends the AbstractBuilder. Instead you should use the following methods
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/**
* What is the executable for the command line to execute. Variable substitution is not required for executable, substitution will be performed later.
* @param capabilitySet- for the current context
* @return the executable as a string
*/
@NotNull
public String getCommandExecutable(ReadOnlyCapabilitySet capabilitySet)
/**
* What are the arguments for the command line to execute Variable substitution is not required for arguments, substitution will be performed later.
* @param capabilitySet - for the current context
* @return the arguments as a string[]. Spaces/division of strings in the array should not matter.
*/
@NotNull
public String[] getCommandArguments(ReadOnlyCapabilitySet capabilitySet)
The methods getBuilder() and getRepository() in the BuildPlanDefinition interface have been renamed to getBuilderV2() and getRepositoryV2() respectively, (see below). You will need to update these method calls in your plugins to be compatible with 2.3
1 2 3 4
@Nullable
RepositoryV2 getRepositoryV2();
BuilderV2 getBuilderV2();
Rate this page: