1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        Jenkins CLI管理 CI/CD 平臺(tái)

        聯(lián)合創(chuàng)作 · 2023-10-01 05:26

        Jenkins 作為最為流行的 CI/CD 平臺(tái),在很多團(tuán)隊(duì)中會(huì)有多個(gè)實(shí)例并存的情況。Jenkins CLI 可以很大程度上為 Jenkins 的管理員和普通用戶提供管理和使用上的便利。

        主要功能如下:

        • 支持 MacOS、Windows、Linux
        • 多實(shí)例配置
        • 搜索、安裝(在線、本地)插件
        • 觸發(fā)并查看任務(wù)日志
        • 在瀏覽器中打開您的 Jenkins
        • 重啟 Jenkins
        • 支持通過代理的方式連接

        在 MacOS 下的安裝方法如下:

        brew tap jenkins-zh/jcli
        brew install jcli

        在 Linux 下的安裝方法如下:

        要安裝到您的 Linux 操作系統(tǒng)下,非常簡單,只需要執(zhí)行下面的命令行即可:

        curl -L https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/jcli-linux-amd64.tar.gz|tar xzv
        sudo mv jcli /usr/local/bin/
        

        在 Windows 下的安裝方法如下:

        點(diǎn)擊這里下載壓縮包,解壓后把 jcli 拷貝到您的系統(tǒng)目錄下,就可以使用了。

        交互式執(zhí)行 Jenkins 任務(wù):

        jcli config plugin fetch
        jcli config plugin install ishell
        ?  ~ jcli ishell
        interactive Jenkins job shell
        >>> help
        
        Commands:
          build        trigger current job
          clear        clear the screen
          context      switch context between different Jenkins
          current      show the current Jenkins
          exit         exit the program
          help         display help
          history      show the history of job builds
          job          set or print current job name
          search       search all jobs
          version      show the version of this plugin
        
        
        >>>
        瀏覽 23
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報(bào)
        評(píng)論
        圖片
        表情
        推薦
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報(bào)
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            久久抽插| 五月天堂网 | 中国操B 91成人小电影 | 国产精品激情偷乱一区二区∴ | 艹逼网| 乱伦视频网 | 午夜激情在线视频 | 挺进美妇老师紧窄湿润视频 | 91精品啪在线观看国产老湿机 | 少妇高潮zzzzzzzy一avhd |