相关文章推荐
Create
cancel
Showing results for
Search instead for
Sign up Log in

The azure web apps deploy pipe is failing with an JSONDecode Error.

Does someone know which could cause this issue?

INFO: Starting deployment to Azure app service...az webapp deployment source config-zip --resource-group fortix-dev --name dev-angular-nestjs-skeleton --src /opt/atlassian/pipelines/agent/build/package-70.zipERROR: Expecting value: line 1 column 1 (char 0)Traceback (most recent call last):  File "/usr/local/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke    cmd_result = self.invocation.execute(args)  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in execute    raise ex  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 386, in _run_jobs_serially    results.append(self._run_job(expanded_arg, cmd_copy))  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 379, in _run_job    six.reraise(*sys.exc_info())  File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise    raise value  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 356, in _run_job    result = cmd_copy(params)  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 171, in __call__    return self.handler(*args, **kwargs)  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 441, in default_command_handler    return op(**command_args)  File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 271, in enable_zip_deploy    response = _check_zip_deployment_status(deployment_status_url, authorization, timeout)  File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 2054, in _check_zip_deployment_status    res_dict = response.json()  File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 897, in json    return complexjson.loads(self.text, **kwargs)  File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads    return _default_decoder.decode(s)  File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode    obj, end = self.raw_decode(s, idx=_w(s, 0).end())  File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode    raise JSONDecodeError("Expecting value", s, err.value) from Nonejson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

 
推荐文章