<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # Interactive Web Terminals > 原文:[https://docs.gitlab.com/ee/ci/interactive_web_terminal/](https://docs.gitlab.com/ee/ci/interactive_web_terminal/) * [Configuration](#configuration) * [Debugging a running job](#debugging-a-running-job) * [Interactive Web Terminals for the Web IDE](#interactive-web-terminals-for-the-web-ide) # Interactive Web Terminals[](#interactive-web-terminals "Permalink") 在 GitLab 11.3 中[引入](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/50144) . 交互式 Web 終端使用戶可以訪問 GitLab 中的終端,以為其 CI 管道運行一次性命令. 由于這使用戶可以通過外殼訪問[GitLab Runner](https://docs.gitlab.com/runner/)部署環境,因此采取了一些[安全預防](../../administration/integration/terminal.html#security)措施來保護用戶. **注意:** [GitLab.com 上的共享跑步者](../quick_start/README.html#shared-runners)不提供交互式 Web 終端. 請遵循[此問題](https://gitlab.com/gitlab-org/gitlab/-/issues/24674)以獲取增加支持方面的進展. 對于在 GitLab.com 上托管的組和項目,使用自己的組或項目運行器時可以使用交互式 Web 終端. ## Configuration[](#configuration "Permalink") 為了使交互式 Web 終端正常工作,需要配置兩件事: * 跑步者需要[正確配置`[session_server]`](https://docs.gitlab.com/runner/configuration/advanced-configuration.html) * 如果您在 GitLab 實例上使用反向代理,則需要[啟用](../../administration/integration/terminal.html#enabling-and-disabling-terminal-support) Web 終端 **注意:** [`gitlab-runner` Helm chart](https://docs.gitlab.com/charts/charts/gitlab/gitlab-runner/index.html)尚不支持交互式 Web 終端,但[已計劃](https://gitlab.com/gitlab-org/charts/gitlab-runner/-/issues/79)支持. ## Debugging a running job[](#debugging-a-running-job "Permalink") **注意:**并非所有執行程序都[受支持](https://docs.gitlab.com/runner/executors/) .**注意:**構建腳本完成后, `docker` executor 不會繼續運行. 屆時,終端將自動斷開連接,并且不會等待用戶完成操作. 請關注[此問題,](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/3605)以獲取有關改進此行為的更新. 有時,當一項作業正在運行時,事情并沒有按您期望的那樣進行,如果可以有一個外殼來幫助調試,這將很有幫助. 運行作業時,在右側面板上可以看到一個`debug`按鈕,它將打開當前作業的終端. [![Example of job running with terminal available](img/206da14c2b9fd76390be58e7103b69c7.png)](img/interactive_web_terminal_running_job.png) 單擊后,新選項卡將打開到終端頁面,您可以在其中訪問終端并鍵入命令,如普通的 shell. [![terminal of the job](https://img.kancloud.cn/04/56/045638b8c4c2b969406eb4b7bbefc4b6_1000x281.png)](img/interactive_web_terminal_page.png) 如果您打開終端并且作業已完成其任務,則終端將在[`[session_server].session_timeout`](https://docs.gitlab.com/runner/configuration/advanced-configuration.html)配置的持續時間內阻止作業完成,直到關閉終端窗口. [![finished job with terminal open](https://img.kancloud.cn/ae/20/ae205327d117d28e74ae0b18918224ac_1274x796.png)](img/finished_job_with_terminal_open.png) ## Interactive Web Terminals for the Web IDE[](#interactive-web-terminals-for-the-web-ide "Permalink") 閱讀 Web IDE 文檔,以了解如何[通過 Web IDE](../../user/project/web_ide/index.html#interactive-web-terminals-for-the-web-ide)運行[交互式終端](../../user/project/web_ide/index.html#interactive-web-terminals-for-the-web-ide) .
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看