DevOps | Saurabh | 2nd Nov

Discussion in 'Cloud Computing' started by Kartikeya Sinha_1, Nov 2, 2019.

  1. Kartikeya Sinha_1

    Kartikeya Sinha_1 Active Member

    Joined:
    Mar 28, 2019
    Messages:
    18
    Likes Received:
    2
    Please use this thread for all the conversations
     
    #1
  2. Saurabh_218

    Saurabh_218 Customer
    Customer

    Joined:
    Jul 5, 2019
    Messages:
    32
    Likes Received:
    8
    Session -1 notes
     

    Attached Files:

    #2
  3. Saurabh_218

    Saurabh_218 Customer
    Customer

    Joined:
    Jul 5, 2019
    Messages:
    32
    Likes Received:
    8
    Git sessions
     

    Attached Files:

    #3
  4. Balaji Bharath Mandava

    Alumni

    Joined:
    Mar 30, 2016
    Messages:
    13
    Likes Received:
    1
    @Saurabh_218

    Hi Saurabh,

    Please advise to provide more details on the below questions.

    1. git branching strategy
    2. Real time issues faced during integrating git with jenkins
    3. How to use git rebase in the real time.
    4. How to resolve the conflicts in git.

    Regards,
    Balaji Mandava
     
    #4
  5. Nitin Somani

    Nitin Somani New Member

    Joined:
    Oct 24, 2019
    Messages:
    1
    Likes Received:
    0
    Hi Saurabh,

    Got stuck there what to do?
     

    Attached Files:

    #5
  6. Saurabh_218

    Saurabh_218 Customer
    Customer

    Joined:
    Jul 5, 2019
    Messages:
    32
    Likes Received:
    8
    Session Jenkins
     

    Attached Files:

    #6
  7. Uma Shankari M

    Joined:
    Aug 16, 2019
    Messages:
    2
    Likes Received:
    0
    Query-
    1)When I am trying to do merge master to Independence in Git bash I am getting an error.
    $ git merge Independence
    *** Please tell me who you are.
    Run
    git config --global user.email "you@example.com"
    git config --global user.name "Your Name"
    to set your account's default identity.
    Omit --global to set the identity only in this repository.
    fatal: unable to auto-detect email address (got 'Uma Shankari@LAPTOP-J8J0OTIC.(none)')

    Please advise.

    2)When I am trying to do merge master to Independence in ubuntu I am getting an error-
    root@ip-172-31-6-140:/home/ubuntu/test1/Session2--Devops# git push origin masterUsername for 'https://github.com': ushankari
    Password for 'https://ushankari@github.com':
    To https://github.com/ushankari/Session2--Devops.git
    ! [rejected] master -> master (non-fast-forward)
    error: failed to push some refs to 'https://github.com/ushankari/Session2--Devops.git'
    hint: Updates were rejected because a pushed branch tip is behind its remote
    hint: counterpart. Check out this branch and integrate the remote changes
    hint: (e.g. 'git pull ...') before pushing again.
    hint: See the 'Note about fast-forwards' in 'git push --help' for details.

    Please advise as I am not able to Merge my branches.

    3)When I performed commit in ubuntu for Independence, and its not pulled, it should show as 2/0
    but i am not able to see. It shows as 0/0 only.

    Regards,
    Uma Shankari M
     
    #7
  8. Saurabh_218

    Saurabh_218 Customer
    Customer

    Joined:
    Jul 5, 2019
    Messages:
    32
    Likes Received:
    8
    Automation Testing
     

    Attached Files:

    #8
  9. Uma Shankari M

    Joined:
    Aug 16, 2019
    Messages:
    2
    Likes Received:
    0
    Hi Saurabh,

    When I tried to do compile.
    For Jenkins-Java - clean install.
    Build failed. Error
    'mvn' is not recognized as an internal or external command,
    operable program or batch file.
    Build step 'Invoke top-level Maven targets' marked build as failure
    Finished: FAILURE
    But Maven is installed in Ubuntu.
    When I run "cd /var/lib/jenkins/workspace" - In ubuntu
    This is the error I get as shown below.
    upload_2019-11-15_23-1-56.png

    Please advice.
    Regards,
    Uma Shankari
     
    #9

Share This Page