Knowledge-Graph-Hub / kg-idg

A Knowledge Graph to Illuminate the Druggable Genome
https://knowledge-graph-hub.github.io/kg-idg/
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

Jenkins build can't find `s3cmd` sometimes #118

Closed caufieldjh closed 1 year ago

caufieldjh commented 1 year ago

Describe the bug

The publish stage of the build encounters this error:

17:01:53  + s3cmd -c **** put -pr --acl-public --cf-invalidate 20221207 s3://kg-hub-public-data/kg-idg/
17:01:53  /var/lib/jenkins/workspace/nowledge-graph-hub_kg-idg_master/gitrepo@tmp/durable-621943ac/script.sh: 1: s3cmd: not found

Interestingly, other s3cmd commands work as expected.

caufieldjh commented 1 year ago

All calls to s3cmd need to be preceded by . venv/bin/activate && - and this one isn't.