command not found from Jenkins Execute Shell

后端 未结 2 1036
余生分开走
余生分开走 2021-01-05 17:37

Hi Jenkins and AWS Guru\'s

I already look online for any possible solutions but not getting a solution for my problem. I just issued an \"eb --version\" on Jenkins e

2条回答
  •  悲哀的现实
    2021-01-05 18:15

    this is now fixed, need to create a properties file that was basically a copy of /var/lib/jenkins/.bash_profile file which would have the correct paths and add that in Jenkins settings. Allowing it to get the required paths. After properties file is created you need to set it on Jenkins-Configure section, Place a check on Prepare jobs environment then set the full path of the properties file (/var/lib/jenkins/environment_variables.properties) on the Properties File Path and restart Jenkins

提交回复
热议问题