Jenkins returned status code 128

后端 未结 3 1770
眼角桃花
眼角桃花 2021-02-08 13:19

I am trying to setup Jenkins with BitBucket GIT repository, but the Jenkins console always gives me this error code:

Started by user Dakado
Building in workspace         


        
3条回答
  •  一生所求
    2021-02-08 13:31

    Your issue is right here :

    Fetching upstream changes from git://bitbucket.org/GameTeamCZ/gtplaytime.git
    FATAL: Failed to fetch from git://bitbucket.org/GameTeamCZ/gtplaytime.git
    

    Is your repository public or private ? If it is private, then there is 2 ways to connect to your Repo :

    First using login/password

    https://**login:password**@bitbucket.org/GameTeamCZ//gtplaytime.git
    

    Second using CREDENTIALS Refer to that page to setup credentials for your Jenkins server : https://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git

    Then you can use a command like that to login to your repository:

    git@CREDENTIALS:TEAM/REPO.git
    

提交回复
热议问题