changes.mady.by.user Bob Swift
Saved on May 02, 2015
Saved on May 03, 2015
Some common fields are handled with specific CLI parameters
ANT, CHECKOUT, CLI_BAMBOO, CLI_CONFLUENCE, CLI_CRUCIBLE, CLI_FISHEYE, CLI_HIPCHAT, CLI_JIRA, CLI_STASH, COMMAND, GANT, GINT, GRADLE, GRADLEW, GROOVY, MAVEN2, MAVEN3, SCP, SCRIPT, SSH
com.atlassian.bamboo.plugins.vcs%3Atask.vcs.checkout
Task keys are in the form xxx:yyy. Use : in place of %3A.
taskKey: com.atlassian.bamboo.plugins.vcs:task.vcs.checkout
defaultRepository
-a addTask --plan XX-XX --job JOB1 --taskKey com.atlassian.bamboo.plugins.vcs:task.vcs.checkout --description "get source" --disable --field1 selectedRepository_0 --value1 defaultRepository --field2 cleanCheckout --value2 true --field3 checkoutDir_0 --value3 ""
com.atlassian.bamboo.plugins.scripttask%3Atask.builder.script
taskKey: com.atlassian.bamboo.plugins.scripttask:task.builder.script
INLINE
-a addTask --plan XX-XX --job JOB1 --taskKey com.atlassian.bamboo.plugins.scripttask:task.builder.script --field1 scriptlocation --value1 INLINE --field2 scriptBody --value2 "exit -1"
com.atlassian.bamboo.plugins.maven%3Atask.builder.mvn2
taskKey: com.atlassian.bamboo.plugins.maven:task.builder.mvn2
Maven 2
-a addTask --plan XX-XX --job JOB1 --description "Simple" --taskKey com.atlassian.bamboo.plugins.maven:task.builder.mvn2 --field1 label --value1 "Maven 2" --field2 goal --value2 "compile" --field3 buildJdk --value3 JDK
org.swift.bamboo.groovy%3Agroovy
taskKeys:
Groovy
FILE
my-script.groovy
-a addTask --plan XX-XX --job JOB1 --description "Simple" --taskKey org.swift.bamboo.groovy:groovy --field1 label --value1 "Groovy" --field2 scriptLocation --value2 FILE --field3 script --value3 my-script.groovy --field4 buildJdk --value4 JDK
org.swift.bamboo.groovy%3Agint
taskKey: org.swift.bamboo.groovy:gint
Gant
integration-test.gant
-a addTask --plan XX-XX --job JOB1 --description "Integration test" --taskKey org.swift.bamboo.groovy:gint --field1 label --value1 "Gant" --field2 scriptLocation --value2 FILE --field3 script --value3 integration-test.gant --field4 buildJdk --value4 JDK --fields levelAll:true,includeLevelsAll:true,clean:true,verbose:true,stopOnFail:false,testChecked:true
org.swift.bamboo.acli%3Ajira
create-jira-issue.txt
-a addTask --plan @plan@ --job @job@ --description "Create JIRA issue" --taskKey org.swift.bamboo.acli:jira --field1 scriptLocation --value1 FILE --field2 script --value2 "create-jira-issue.txt"