<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>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ![dependencies元素](https://gitee.com/mianshenglee/datastorage/raw/master/md-photo/deploy-tool/dependencies%E5%85%83%E7%B4%A0.jpg) `dependencies`元素主要設置當前`execution`元素需要依賴的操作,若設置了此依賴,在運行`execution`前會先按順序執行依賴項,完成后再執行當前的`execution`。它主要在`OperRunDependency`操作及`OperRunCommand`操作中設置。如下所示是設置安裝redis前,需要先更新配置文件、變更文件權限: ```xml <execution name="安裝Redis" id="installRedis" display="true" class-name="deploy.OperRunCommand"> <configuration> <commands> <command charset="utf-8"> <exec><![CDATA[scripts/linux/db/redis/install_redis.sh]]></exec> </command> <!-- 開通端口 --> <command charset="utf-8"> <exec><![CDATA[scripts/linux/common/add_port.sh]]></exec> <args> <arg><![CDATA[$${server.redis.port}]]></arg> </args> </command> </commands> </configuration> <dependencies> <dependency ref-id="updateConfigFiles"/> <dependency ref-id="chmodFile"/> </dependencies> </execution> ``` 說明: > * `dependencies`元素下有>=1個`dependency`元素。 > * `dependency`元素使用`ref-id`表示依賴的`execution`,`ref-id`值為要執行的`execution`的id。`ref-id`可為屬性或元素,寫其一即可。 > * `dependency`元素可使用`condiction`屬性設置條件,對符合此條件的才執行此`ref-id`的操作,不符合條件則不操作。如使用`condiction="$${server_web_extranet_protocol}==https"`,表示當用戶使用https部署,設置`server_web_extranet_protocol`的值為https時符合條,若不等于https,則不符合,跳過此依賴。 > * `dependency`元素下可使用`result`元素設置此依賴的操作執行后,根據它的執行結果如何進行下一步。若不設置此元素,則采用默認操作。即 `<result skip="false"> <success>move</success> <fail>stop</fail> </result>` 即當此依賴執行成功后,才進行下一個依賴操作,失敗后即停止,返回到交互界面。如果設置為`skip`為true,則不管此依賴是否執行成功,都會進行下一步操作。當`skip`為true時,`success`及`fail`元素不用設置。 [13]: http://ww4.sinaimg.cn/large/72d660a7gw1fbn6wqvdtlj20gy07faa8.jpg
                  <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>

                              哎呀哎呀视频在线观看