Jenkins Git plugin with https

后端 未结 11 2262
Happy的楠姐
Happy的楠姐 2020-12-30 05:20

I am trying to configure a Git project in Jenkins using the Git plugin. In the project configuration page I enter the repository URL in the Git configuration, which is an ht

11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-30 05:37

    My solution did works well for Jenkins-Git-Plugin.

    # create my exec
    su root
    darngit=/usr/bin/darngit
    touch $darngit
    echo "#! /usr/bin/env bash" > $darngit
    echo "git -c sslVerify=false $@" > $darngit
    

    Goto system setting, set git executable = /usr/bin/darngit

提交回复
热议问题