FailedConsole Output

Started by user Pasan Tennakoon
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on Worker-OSLK08-Ubuntu (DockerHub) in workspace /build/jenkins-home/workspace/products/streaming-integrator-docker
[streaming-integrator-docker] $ /bin/sh -xe /tmp/jenkins15343278253860476510.sh
+ echo ~~~ Starting SI Docker Build ~~~
~~~ Starting SI Docker Build ~~~
+ eval curl -s https://wso2.org/jenkins/job/products/job/streaming-integrator/1034/api/json | python3 -c "import sys, json; print(json.load(sys.stdin)['result'])"
+ + curl -s https://wso2.org/jenkins/job/products/job/streaming-integrator/1034/api/json
python3 -c import sys, json; print(json.load(sys.stdin)['result'])
+ PRODUCT_BUILD_STATUS=SUCCESS
+ echo SUCCESS
SUCCESS
+ [ SUCCESS != SUCCESS ]
+ echo Wait till artifacts are archived in the product build...
Wait till artifacts are archived in the product build...
+ sleep 120
+ rm -rf docker-build docker-ei
+ git clone https://github.com/wso2/docker-ei.git
Cloning into 'docker-ei'...
+ mkdir docker-build
+ echo Building streaming-integrator
Building streaming-integrator
+ eval curl -s https://wso2.org/jenkins/job/products/job/streaming-integrator/674/api/json | python3 -c "import sys, json; print(json.load(sys.stdin)['artifacts'][1]['fileName'])"
+ python3 -c import sys, json; print(json.load(sys.stdin)['artifacts'][1]['fileName'])+ 
curl -s https://wso2.org/jenkins/job/products/job/streaming-integrator/674/api/json
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.6/json/__init__.py", line 299, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
+ DISTRIBUTION_NAME=
Build step 'Execute shell' marked build as failure
Finished: FAILURE