diff --git a/automation/Dockerfile b/automation/Dockerfile new file mode 100644 index 0000000..9faa42f --- /dev/null +++ b/automation/Dockerfile @@ -0,0 +1,6 @@ +FROM python:3 + +RUN apt-get update +RUN apt-get --yes upgrade +#tzdata is a dependency, won't install otherwise +ARG DEBIAN_FRONTEND=noninteractive diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile new file mode 100644 index 0000000..118cbf7 --- /dev/null +++ b/automation/Jenkinsfile @@ -0,0 +1,17 @@ +pipeline { + environment { + } + agent { + dockerfile { + dir 'automation' + reuseNode true + } + } + stages { + stage('Package') { + steps { + sh 'pip install .' + } + } + } +}