Bitbucket and Github salesforce unlocked package deployment for multiple salesforce orgs #119798
Unanswered
omkar03836
asked this question in
Actions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Show & Tell
Body
I have created pipeline for bitbucket and Github. I want to deploy the changes on multiple salesforce org. How to deploy the changes? I am able to create a package.
image:
pipelines:
branches:
dev:
script:
- apt update && apt -y install jq
# Install Salesforce CLI
- wget https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz
- mkdir -p ~/cli/sf
- tar xJf sf-linux-x64.tar.xz -C
/cli/sf --strip-components 1/cli/sf/bin:$PATH- export PATH=
# Output CLI version and plug-in information
- sfdx --version
- sfdx plugins --core
- sfdx force:auth:jwt:grant --clientid $SF_CONSUMER_KEY_PROD --jwtkeyfile /opt/atlassian/pipelines/agent/build/server.key --username $SF_USERNAME_PROD --setdefaultdevhubusername --setalias DevHub
- sfdx force:org:list --all
- sfdx force:auth:jwt:grant --clientid $SF_CONSUMER_KEY_DEV --jwtkeyfile /opt/atlassian/pipelines/agent/build/server.key --username $SF_USERNAME_DEV --setdefaultdevhubusername --setalias Dev2
- sf package install --wait 10 --publish-wait 10 --package [email protected] --installation-key test1234 --no-prompt --target-org Dev2
Beta Was this translation helpful? Give feedback.
All reactions