docs(file-manage): The file in File manage is a relative path, not an absolute path (#13641)
This commit is contained in:
parent
ca9df868f1
commit
b48eae8ce7
|
|
@ -57,11 +57,11 @@ Create a shell file, print `hello world`.
|
|||
|
||||
In the workflow definition module of project Manage, create a new workflow using a shell task.
|
||||
|
||||
- Script: 'sh hello.sh'
|
||||
- Resource: Select 'hello.sh'
|
||||
- Script: 'sh resource/hello.sh'
|
||||
- Resource: Select 'resource/hello.sh'
|
||||
|
||||
> Notice: When using a resource file in the script, the file name needs to be the same as the full path of the selected resource:
|
||||
> For example: if the resource path is `/resource/hello.sh`, you need to use the full path of `/resource/hello.sh` to use it in the script.
|
||||
> For example: if the resource path is `resource/hello.sh`, you need to use the full path of `resource/hello.sh` to use it in the script.
|
||||
|
||||

|
||||
|
||||
|
|
|
|||
|
|
@ -54,11 +54,11 @@
|
|||
|
||||
在项目管理的工作流定义模块,创建一个新的工作流,使用 shell 任务。
|
||||
|
||||
- 脚本:`sh hello.sh`
|
||||
- 资源:选择 `hello.sh`
|
||||
- 脚本:`sh resource/hello.sh`
|
||||
- 资源:选择 `resource/hello.sh`
|
||||
|
||||
> 注意:脚本中选择资源文件时文件名称需要保持和所选择资源全路径一致:
|
||||
> 例如:资源路径为`/resource/hello.sh` 则脚本中调用需要使用`/resource/hello.sh`全路径
|
||||
> 例如:资源路径为`resource/hello.sh` 则脚本中调用需要使用`resource/hello.sh`全路径
|
||||
|
||||

|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue