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 groovy.json.JsonSlurper | |
/* | |
Gradle commandLine task to trigger deployments from release branches | |
This will trigger deployments for all Deployment Projects for specific plan | |
Note that bambooUsername and bambooPassword need to be set (environment variables) | |
.. also for first time usage override the bambooUrl variable, and rootPlanKey |
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 groovy.json.JsonSlurper | |
username = 'JIRA_USERNAME' | |
password = 'JIRA_PASSWORD' | |
jiraUrl = 'https://myjira.address.com' | |
jql = 'project=FE AND sprint in openSprints() AND sprint not in futureSprints() order by updated desc' | |
example = getJiraJqlResults(jql) |
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 groovy.json.JsonSlurper | |
username = 'BAMBOO_USERNAME' | |
password = 'BAMBOO_PASSWORD' | |
bambooUrl = 'http://my.bamboo.address.com' | |
String planName = 'ABCD' // Plan name (one that creates artiftacts | |
String branchName = 'release-3' //The branch that we want to deploy | |
int deploymentProjectId = 123 //id of deployment project (in deployment tab, that deploys artifact from the above plan |