You need to sign in to do that
Don't have an account?
BHASKAR GANGULY
automate deployment through jenkins pr
Hi,
i am trying to enable Continuous integration and delivery for one of my projects with salesforce DX,.My requirement is whenever a push happens in Github it should connect to jenkins.As part of continuos integration i want to authorize devhub,create the scratch org,push the source code to scratch org,test apex classes and then deploy the code in some other target org. I was able to do all the steps till test apex classes. My confusion is how to deploy the source code to some other target org as i don't want to deploy the code to dev hub org.Do i need to set up JWT for the target org as well along with the connected app and extra set of environment variables. Please guide me here. Please find below the github repository for the working jenkins file. https://github.com/bganguly1984/Jenkinsdemo/blob/newb/Jenkinsfile
Thanks,
Bhaskar
i am trying to enable Continuous integration and delivery for one of my projects with salesforce DX,.My requirement is whenever a push happens in Github it should connect to jenkins.As part of continuos integration i want to authorize devhub,create the scratch org,push the source code to scratch org,test apex classes and then deploy the code in some other target org. I was able to do all the steps till test apex classes. My confusion is how to deploy the source code to some other target org as i don't want to deploy the code to dev hub org.Do i need to set up JWT for the target org as well along with the connected app and extra set of environment variables. Please guide me here. Please find below the github repository for the working jenkins file. https://github.com/bganguly1984/Jenkinsdemo/blob/newb/Jenkinsfile
Thanks,
Bhaskar