Salesforce Deployment Software installation
sudo su -
yum install git
you can skip the below because node is installed in sfdx package
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
. ~/.nvm/nvm.sh
nvm install node
node -e "console.log('Running Node.js ' + process.version)"
Please don't run npm install --global sfdx-cli in AWS Ec2 machine, when you run this command, the ec2-machines hangs and won't respond. reboot the ec2 instance and run the below commands to install sfdx manually.
wget https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-linux-x64.tar.xz
mkdir /opt/sfdx
tar xJf sfdx-linux-x64.tar.xz -C /opt/sfdx --strip-components 1
export PATH=/opt/sfdx/bin:$PATH
if you have to edit the PATH, then use set PATH="path"
Go jenkins plugins and install custom tool plugin
Go to global tool configuration
Under Custom tool
Comments
Post a Comment