Closed rob31231232 closed 1 year ago
When I Run the pipeline, I got the error below. Is there something I do wrong?
More info:
2023-05-19T13:18:09.0976071Z ##[debug]Evaluating condition for step: 'Build VM' 2023-05-19T13:18:09.0976908Z ##[debug]Evaluating: SucceededNode() 2023-05-19T13:18:09.0977168Z ##[debug]Evaluating SucceededNode: 2023-05-19T13:18:09.0977594Z ##[debug]=> True 2023-05-19T13:18:09.0977874Z ##[debug]Result: True 2023-05-19T13:18:09.0978144Z ##[section]Starting: Build VM 2023-05-19T13:18:09.0983485Z ============================================================================== 2023-05-19T13:18:09.0983627Z Task : PowerShell 2023-05-19T13:18:09.0983699Z Description : Run a PowerShell script on Linux, macOS, or Windows 2023-05-19T13:18:09.0983805Z Version : 2.220.0 2023-05-19T13:18:09.0983872Z Author : Microsoft Corporation 2023-05-19T13:18:09.0984209Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell 2023-05-19T13:18:09.0984494Z ============================================================================== 2023-05-19T13:18:09.1295323Z ##[debug]Using node path: /agent/externals/node16/bin/node 2023-05-19T13:18:09.1918796Z ##[debug]agent.TempDirectory=/agent/_work/_temp 2023-05-19T13:18:09.1927768Z ##[debug]loading inputs and endpoints 2023-05-19T13:18:09.1932144Z ##[debug]loading INPUT_TARGETTYPE 2023-05-19T13:18:09.1940868Z ##[debug]loading INPUT_FILEPATH 2023-05-19T13:18:09.1942883Z ##[debug]loading INPUT_ARGUMENTS 2023-05-19T13:18:09.1945002Z ##[debug]loading INPUT_SCRIPT 2023-05-19T13:18:09.1946936Z ##[debug]loading INPUT_ERRORACTIONPREFERENCE 2023-05-19T13:18:09.1948906Z ##[debug]loading INPUT_WARNINGPREFERENCE 2023-05-19T13:18:09.1950845Z ##[debug]loading INPUT_INFORMATIONPREFERENCE 2023-05-19T13:18:09.1953641Z ##[debug]loading INPUT_VERBOSEPREFERENCE 2023-05-19T13:18:09.1956158Z ##[debug]loading INPUT_DEBUGPREFERENCE 2023-05-19T13:18:09.1958710Z ##[debug]loading INPUT_PROGRESSPREFERENCE 2023-05-19T13:18:09.1961608Z ##[debug]loading INPUT_FAILONSTDERR 2023-05-19T13:18:09.1964413Z ##[debug]loading INPUT_SHOWWARNINGS 2023-05-19T13:18:09.1967383Z ##[debug]loading INPUT_IGNORELASTEXITCODE 2023-05-19T13:18:09.1970110Z ##[debug]loading INPUT_PWSH 2023-05-19T13:18:09.1971963Z ##[debug]loading INPUT_WORKINGDIRECTORY 2023-05-19T13:18:09.1973882Z ##[debug]loading INPUT_RUNSCRIPTINSEPARATESCOPE 2023-05-19T13:18:09.1975714Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION 2023-05-19T13:18:09.1977475Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION 2023-05-19T13:18:09.1979289Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN 2023-05-19T13:18:09.1982403Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN 2023-05-19T13:18:09.1985309Z ##[debug]loading SECRET_CLIENT_SECRET 2023-05-19T13:18:09.1987424Z ##[debug]loaded 21 2023-05-19T13:18:09.1991196Z ##[debug]Agent.ProxyUrl=undefined 2023-05-19T13:18:09.1992098Z ##[debug]Agent.CAInfo=undefined 2023-05-19T13:18:09.1992907Z ##[debug]Agent.ClientCert=undefined 2023-05-19T13:18:09.1993677Z ##[debug]Agent.SkipCertValidation=undefined 2023-05-19T13:18:09.1999243Z ##[debug]check path : /agent/_work/_tasks/PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1/2.220.0/task.json 2023-05-19T13:18:09.2002524Z ##[debug]adding resource file: /agent/_work/_tasks/PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1/2.220.0/task.json 2023-05-19T13:18:09.2003714Z ##[debug]system.culture=en-US 2023-05-19T13:18:09.2014422Z ##[debug]errorActionPreference=stop 2023-05-19T13:18:09.2016423Z ##[debug]warningPreference=default 2023-05-19T13:18:09.2018259Z ##[debug]informationPreference=default 2023-05-19T13:18:09.2020020Z ##[debug]verbosePreference=default 2023-05-19T13:18:09.2022511Z ##[debug]debugPreference=default 2023-05-19T13:18:09.2024560Z ##[debug]progressPreference=silentlyContinue 2023-05-19T13:18:09.2034937Z ##[debug]showWarnings=false 2023-05-19T13:18:09.2037432Z ##[debug]failOnStderr=false 2023-05-19T13:18:09.2039925Z ##[debug]ignoreLASTEXITCODE=false 2023-05-19T13:18:09.2042386Z ##[debug]workingDirectory=/agent/_work/8/s 2023-05-19T13:18:09.2042747Z ##[debug]check path : /agent/_work/8/s 2023-05-19T13:18:09.2045034Z ##[debug]targetType=filePath 2023-05-19T13:18:09.2047236Z ##[debug]filePath=/agent/_work/8/s/scripts/build-image.ps1 2023-05-19T13:18:09.2051483Z ##[debug]task result: Failed 2023-05-19T13:18:09.2081976Z ##[error]ENOENT: no such file or directory, stat '/agent/_work/8/s/scripts/build-image.ps1' 2023-05-19T13:18:09.2089788Z ##[debug]Processed: ##vso[task.issue type=error;]ENOENT: no such file or directory, stat '/agent/_work/8/s/scripts/build-image.ps1' 2023-05-19T13:18:09.2090811Z ##[debug]Processed: ##vso[task.complete result=Failed;]ENOENT: no such file or directory, stat '/agent/_work/8/s/scripts/build-image.ps1' 2023-05-19T13:18:09.2098214Z ##[section]Finishing: Build VM
My fault, i forgot the repository_base_path: azuredevops-buildagents paramet.
When I Run the pipeline, I got the error below. Is there something I do wrong?
More info:
2023-05-19T13:18:09.0976071Z ##[debug]Evaluating condition for step: 'Build VM' 2023-05-19T13:18:09.0976908Z ##[debug]Evaluating: SucceededNode() 2023-05-19T13:18:09.0977168Z ##[debug]Evaluating SucceededNode: 2023-05-19T13:18:09.0977594Z ##[debug]=> True 2023-05-19T13:18:09.0977874Z ##[debug]Result: True 2023-05-19T13:18:09.0978144Z ##[section]Starting: Build VM 2023-05-19T13:18:09.0983485Z ============================================================================== 2023-05-19T13:18:09.0983627Z Task : PowerShell 2023-05-19T13:18:09.0983699Z Description : Run a PowerShell script on Linux, macOS, or Windows 2023-05-19T13:18:09.0983805Z Version : 2.220.0 2023-05-19T13:18:09.0983872Z Author : Microsoft Corporation 2023-05-19T13:18:09.0984209Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell 2023-05-19T13:18:09.0984494Z ============================================================================== 2023-05-19T13:18:09.1295323Z ##[debug]Using node path: /agent/externals/node16/bin/node 2023-05-19T13:18:09.1918796Z ##[debug]agent.TempDirectory=/agent/_work/_temp 2023-05-19T13:18:09.1927768Z ##[debug]loading inputs and endpoints 2023-05-19T13:18:09.1932144Z ##[debug]loading INPUT_TARGETTYPE 2023-05-19T13:18:09.1940868Z ##[debug]loading INPUT_FILEPATH 2023-05-19T13:18:09.1942883Z ##[debug]loading INPUT_ARGUMENTS 2023-05-19T13:18:09.1945002Z ##[debug]loading INPUT_SCRIPT 2023-05-19T13:18:09.1946936Z ##[debug]loading INPUT_ERRORACTIONPREFERENCE 2023-05-19T13:18:09.1948906Z ##[debug]loading INPUT_WARNINGPREFERENCE 2023-05-19T13:18:09.1950845Z ##[debug]loading INPUT_INFORMATIONPREFERENCE 2023-05-19T13:18:09.1953641Z ##[debug]loading INPUT_VERBOSEPREFERENCE 2023-05-19T13:18:09.1956158Z ##[debug]loading INPUT_DEBUGPREFERENCE 2023-05-19T13:18:09.1958710Z ##[debug]loading INPUT_PROGRESSPREFERENCE 2023-05-19T13:18:09.1961608Z ##[debug]loading INPUT_FAILONSTDERR 2023-05-19T13:18:09.1964413Z ##[debug]loading INPUT_SHOWWARNINGS 2023-05-19T13:18:09.1967383Z ##[debug]loading INPUT_IGNORELASTEXITCODE 2023-05-19T13:18:09.1970110Z ##[debug]loading INPUT_PWSH 2023-05-19T13:18:09.1971963Z ##[debug]loading INPUT_WORKINGDIRECTORY 2023-05-19T13:18:09.1973882Z ##[debug]loading INPUT_RUNSCRIPTINSEPARATESCOPE 2023-05-19T13:18:09.1975714Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION 2023-05-19T13:18:09.1977475Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION 2023-05-19T13:18:09.1979289Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN 2023-05-19T13:18:09.1982403Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN 2023-05-19T13:18:09.1985309Z ##[debug]loading SECRET_CLIENT_SECRET 2023-05-19T13:18:09.1987424Z ##[debug]loaded 21 2023-05-19T13:18:09.1991196Z ##[debug]Agent.ProxyUrl=undefined 2023-05-19T13:18:09.1992098Z ##[debug]Agent.CAInfo=undefined 2023-05-19T13:18:09.1992907Z ##[debug]Agent.ClientCert=undefined 2023-05-19T13:18:09.1993677Z ##[debug]Agent.SkipCertValidation=undefined 2023-05-19T13:18:09.1999243Z ##[debug]check path : /agent/_work/_tasks/PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1/2.220.0/task.json 2023-05-19T13:18:09.2002524Z ##[debug]adding resource file: /agent/_work/_tasks/PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1/2.220.0/task.json 2023-05-19T13:18:09.2003714Z ##[debug]system.culture=en-US 2023-05-19T13:18:09.2014422Z ##[debug]errorActionPreference=stop 2023-05-19T13:18:09.2016423Z ##[debug]warningPreference=default 2023-05-19T13:18:09.2018259Z ##[debug]informationPreference=default 2023-05-19T13:18:09.2020020Z ##[debug]verbosePreference=default 2023-05-19T13:18:09.2022511Z ##[debug]debugPreference=default 2023-05-19T13:18:09.2024560Z ##[debug]progressPreference=silentlyContinue 2023-05-19T13:18:09.2034937Z ##[debug]showWarnings=false 2023-05-19T13:18:09.2037432Z ##[debug]failOnStderr=false 2023-05-19T13:18:09.2039925Z ##[debug]ignoreLASTEXITCODE=false 2023-05-19T13:18:09.2042386Z ##[debug]workingDirectory=/agent/_work/8/s 2023-05-19T13:18:09.2042747Z ##[debug]check path : /agent/_work/8/s 2023-05-19T13:18:09.2045034Z ##[debug]targetType=filePath 2023-05-19T13:18:09.2047236Z ##[debug]filePath=/agent/_work/8/s/scripts/build-image.ps1 2023-05-19T13:18:09.2051483Z ##[debug]task result: Failed 2023-05-19T13:18:09.2081976Z ##[error]ENOENT: no such file or directory, stat '/agent/_work/8/s/scripts/build-image.ps1' 2023-05-19T13:18:09.2089788Z ##[debug]Processed: ##vso[task.issue type=error;]ENOENT: no such file or directory, stat '/agent/_work/8/s/scripts/build-image.ps1' 2023-05-19T13:18:09.2090811Z ##[debug]Processed: ##vso[task.complete result=Failed;]ENOENT: no such file or directory, stat '/agent/_work/8/s/scripts/build-image.ps1' 2023-05-19T13:18:09.2098214Z ##[section]Finishing: Build VM