<bdo id='xnHm2'></bdo><ul id='xnHm2'></ul>

<i id='xnHm2'><tr id='xnHm2'><dt id='xnHm2'><q id='xnHm2'><span id='xnHm2'><b id='xnHm2'><form id='xnHm2'><ins id='xnHm2'></ins><ul id='xnHm2'></ul><sub id='xnHm2'></sub></form><legend id='xnHm2'></legend><bdo id='xnHm2'><pre id='xnHm2'><center id='xnHm2'></center></pre></bdo></b><th id='xnHm2'></th></span></q></dt></tr></i><div id='xnHm2'><tfoot id='xnHm2'></tfoot><dl id='xnHm2'><fieldset id='xnHm2'></fieldset></dl></div>

  • <legend id='xnHm2'><style id='xnHm2'><dir id='xnHm2'><q id='xnHm2'></q></dir></style></legend>

    <small id='xnHm2'></small><noframes id='xnHm2'>

        <tfoot id='xnHm2'></tfoot>

        script.sh:第 1 行:./gradlew:Jenkins 上没有这样的文件或目录

        时间:2023-09-12
        1. <tfoot id='5ffOs'></tfoot>
            <tbody id='5ffOs'></tbody>
              <bdo id='5ffOs'></bdo><ul id='5ffOs'></ul>

              <legend id='5ffOs'><style id='5ffOs'><dir id='5ffOs'><q id='5ffOs'></q></dir></style></legend>
            • <i id='5ffOs'><tr id='5ffOs'><dt id='5ffOs'><q id='5ffOs'><span id='5ffOs'><b id='5ffOs'><form id='5ffOs'><ins id='5ffOs'></ins><ul id='5ffOs'></ul><sub id='5ffOs'></sub></form><legend id='5ffOs'></legend><bdo id='5ffOs'><pre id='5ffOs'><center id='5ffOs'></center></pre></bdo></b><th id='5ffOs'></th></span></q></dt></tr></i><div id='5ffOs'><tfoot id='5ffOs'></tfoot><dl id='5ffOs'><fieldset id='5ffOs'></fieldset></dl></div>

                1. <small id='5ffOs'></small><noframes id='5ffOs'>

                  本文介绍了script.sh:第 1 行:./gradlew:Jenkins 上没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  这是我收到的错误消息

                  ./gradlew clean assembleRelease/Users/bhanukaisuru/.jenkins/workspace/OrelGo@tmp/durable-b74adbad/script.sh:第 1 行:./gradlew: 没有这样的文件或目录管道脚本

                  ./gradlew clean assembleRelease /Users/bhanukaisuru/.jenkins/workspace/OrelGo@tmp/durable-b74adbad/script.sh: line 1: ./gradlew: No such file or directoryPipeline Script

                  流水线脚本

                  stage('Build Release APK') {
                               sh "./gradlew clean assembleRelease"
                           }
                  

                  推荐答案

                  如果您想使用命令 shbat 指定 Jenkins 工作区,则不需要在它的根级别执行命令.

                  You do not need to specify the Jenkins workspace with the commands sh and bat if you want to execute a command on the root level of it.

                  sh 'mkdir test' 会在 <jenkins_workspace>/test 中创建一个文件夹.

                  sh 'mkdir test' would create a folder in <jenkins_workspace>/test for example.

                  如果 gradlew 位于 Jenkins 工作区的根目录,则以下内容就足够了:

                  If gradlew is located on the root of the Jenkins workspace the following should be sufficent:

                  sh "gradlew clean assembleRelease"
                  

                  否则完整路径也可以.

                  这篇关于script.sh:第 1 行:./gradlew:Jenkins 上没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Arduino:使用带有蓝牙模块的串口和软件串口 下一篇:更新后无法使用 cocoapods

                  相关文章

                    <bdo id='tkjSy'></bdo><ul id='tkjSy'></ul>
                  <legend id='tkjSy'><style id='tkjSy'><dir id='tkjSy'><q id='tkjSy'></q></dir></style></legend>
                2. <small id='tkjSy'></small><noframes id='tkjSy'>

                  <i id='tkjSy'><tr id='tkjSy'><dt id='tkjSy'><q id='tkjSy'><span id='tkjSy'><b id='tkjSy'><form id='tkjSy'><ins id='tkjSy'></ins><ul id='tkjSy'></ul><sub id='tkjSy'></sub></form><legend id='tkjSy'></legend><bdo id='tkjSy'><pre id='tkjSy'><center id='tkjSy'></center></pre></bdo></b><th id='tkjSy'></th></span></q></dt></tr></i><div id='tkjSy'><tfoot id='tkjSy'></tfoot><dl id='tkjSy'><fieldset id='tkjSy'></fieldset></dl></div>
                3. <tfoot id='tkjSy'></tfoot>