in job-worker/npm_job_worker.py [0:0]
def job_acknowledge(jobId, nonce):
try:
print('Acknowledging job for jobId %s' % jobId)
result = codepipeline.acknowledge_job(jobId=jobId, nonce=nonce)
return(result)
except Exception as e:
print("Received an error when trying to acknowledge the job: %s" % str(e))
raise