myfileagent-python-ci/pipeline/head This commit looks good
7 lines
340 B
Bash
7 lines
340 B
Bash
#!/bin/sh
|
|
# Run on the Droplet after recreating the official Jenkins container.
|
|
# Python installed in the container survives restart, not container replacement.
|
|
set -eu
|
|
docker exec -u root myfileagent-jenkins sh -c 'apt-get update -qq && apt-get install -y --no-install-recommends python3'
|
|
docker exec myfileagent-jenkins python3 --version
|