Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58707

Rancher 2 Jenkins AWS CLI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: cli, core
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      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 ?

        Attachments

          Activity

          Hide
          vishnuvpotty Vishnu Potti added a comment -

          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

           

          Show
          vishnuvpotty Vishnu Potti added a comment - 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  

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jenkuser zak maj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: