Open donovosoft opened 8 years ago
It could be python's version, check if there is another python version installed and force to use python 2.7:
#!/usr/bin/python2.7
Another thing to check is aws configuration on the server, check $PATH var that belongs to jenkins user
Just missing ssh key for ec2 instances
The best way to do it is retriving pem files from S3 available only for role "DEVOPS" and install it to the server using Jenkins role
The job is not working on its first tests
No config file found; using defaults [0;31mERROR! The file aws_env/ec2.py is marked as executable, but failed to execute correctly. If this is not supposed to be an executable script, correct this with
chmod -x aws_env/ec2.py. Inventory script (aws_env/ec2.py) had an execution error: region name: ap-south-1 likely not supported, or AWS is down. connection to region failed. aws_env/ec2.py:3: Error parsing host definition ''''': No closing quotation[0m Build step 'Execute shell' marked build as failure Finished: FAILURE
See more: http://54.183.193.95:8080/job/Build_Site_Wordpress/28/console