modified: Dockerfile

modified:   Jenkinsfile
Updated to use master branch
This commit is contained in:
Jonathan Ervine 2020-05-28 18:40:13 +08:00
parent d05ab10223
commit c6b6789a34
2 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,7 @@ WORKDIR /src
RUN apk add --no-cache --virtual .build-deps \
git python make g++ \
&& apk add --no-cache openssh-client \
&& git clone https://github.com/krishnasrinivas/wetty --branch v1.3.0 /src \
&& git clone https://github.com/krishnasrinivas/wetty --branch master /src \
&& npm install \
&& apk del .build-deps \
&& adduser -h /src -D term \

3
Jenkinsfile vendored
View File

@ -14,8 +14,7 @@ node("docker-node") {
stage "publish"
app.push("${env.BUILD_NUMBER}")
app.push("latest")
app.push("1.3.0")
app.push("1.3")
app.push("master")
stage('Deploy on K8s'){
sh "/usr/local/bin/kubectl -n wetty delete po --all"