Add Assignment 6 Python application and Jenkins pipeline
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/head This commit looks good
This commit is contained in:
parent
4a67a09780
commit
041adfcda4
@@ -0,0 +1,6 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user