[JIRA] (JENKINS-58707) Rancher 2 Jenkins AWS CLI

5 views
Skip to first unread message

elmajdoulizakaria@gmail.com (JIRA)

unread,
Jul 29, 2019, 9:21:02 AM7/29/19
to jenkinsc...@googlegroups.com
zak maj created an issue
 
Jenkins / Bug JENKINS-58707
Rancher 2 Jenkins AWS CLI
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2019-07-29 13:20
Environment: Operating system : Centos 7, 64 bit (cluster of 3 nodes in the Rancher 2 environment).
Jenkins Version: 2.176.1.
Jenkins Installation: as a docker image in the Rancher 2 environment.
Reverse proxy: Apache version 2.4.6 (forward the request to the rancher cluster nodes).
Priority: Blocker Blocker
Reporter: zak maj

Hi Everyone,

 

I'm not familiar with Jenkins (New user). My colleague got this error message:

 

Console Output:

 

Building in workspace /var/jenkins_home/workspace/XXXX
[XXXX] $ /bin/sh -xe /tmp/jenkins7583347576379589116.sh

  • PROFILE=XXXX-restart
  • AWSCLI=/usr/bin/aws
  • SLEEP=/usr/bin/sleep
  • [ start = stop ]
  • [ start = start ]
  • /usr/bin/aws rds --profile XXXX-restart start-db-instance --db-instance-identifier XXXX-postgresql-awsuse2-live
    /tmp/jenkins7583347576369589116.sh: 18: /tmp/jenkins7583347577369589116.sh: /usr/bin/aws: not found
    Build step 'Execute shell' marked build as failure
    Finished: FAILURE

 

As i understood, the AWS CLI is not installed. Is there a plugin that i need to install or something ?

 

Please someone can help ?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

elmajdoulizakaria@gmail.com (JIRA)

unread,
Jul 29, 2019, 9:26:02 AM7/29/19
to jenkinsc...@googlegroups.com
zak maj updated an issue
Change By: zak maj
Component/s: cli

vishnuvpotty@gmail.com (JIRA)

unread,
Aug 27, 2019, 10:51:02 PM8/27/19
to jenkinsc...@googlegroups.com
Vishnu Potti commented on Bug JENKINS-58707
 
Re: Rancher 2 Jenkins AWS CLI

zak maj : This isn't really a bug but configuration issue.AWS CLI needs to be configured. 

Follow this link : https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-jenkins.html

 

Reply all
Reply to author
Forward
0 new messages