Hi,
I am trying to invoke Bamboo REST API from Bit Bucket using plugin "Pull Request Notifier" for a pull request raised. I have invoked the URL as mentioned below and passed the pull request related parameters. But since my build plan has a task to fetch the code from a particular repository, pull request parameters passed here are being ignored and predefined repository is being fetched. Is there any way that my build plan merges the code based on passed parameters and run the build on top of that? How should my build plan look like to fetch the repository using these parameters?
I am aware that Bamboo 6 has a new feature for pull requests but our organizations current version is 5.6.2.
I have tried to implement this based on the suggestions given in the URL below
URL Used:
https://<My Bamboo Host Name>/build/admin/triggerManualBuild.action?buildKey=<Plan Name and Key>&bamboo.PULL_REQUEST_ID=${PULL_REQUEST_ID}&bamboo.PULL_REQUEST_TO_SSH_CLONE_URL=${PULL_REQUEST_TO_SSH_CLONE_URL}&bamboo.PULL_REQUEST_TO_REPO_NAME=${PULL_REQUEST_TO_REPO_NAME}&bamboo.PULL_REQUEST_TO_BRANCH=${PULL_REQUEST_TO_BRANCH}&bamboo.PULL_REQUEST_TO_REPO_PROJECT_KEY=${PULL_REQUEST_TO_REPO_PROJECT_KEY}&bamboo.PULL_REQUEST_URL=${PULL_REQUEST_URL}&bamboo.PULL_REQUEST_VERSION=${PULL_REQUEST_VERSION}&bamboo.REPOSITORYSLUG=${PULL_REQUEST_AUTHOR_SLUG}&os_authType=basic&executeAllStages=true
Hi!
on 6.10.2 it works well.
Have you checked on latest version ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.