From d05ab1022342fd0f820e43b6ffda9d90b72dfe0d Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Thu, 2 Apr 2020 15:51:05 +0800 Subject: [PATCH] modified: Dockerfile modified: Jenkinsfile Updated to wetty 1.3.0 --- Dockerfile | 2 +- Jenkinsfile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 19a0266..e50feec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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.1.4 /src \ + && git clone https://github.com/krishnasrinivas/wetty --branch v1.3.0 /src \ && npm install \ && apk del .build-deps \ && adduser -h /src -D term \ diff --git a/Jenkinsfile b/Jenkinsfile index c442187..67eedb0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,9 +14,11 @@ node("docker-node") { stage "publish" app.push("${env.BUILD_NUMBER}") app.push("latest") + app.push("1.3.0") + app.push("1.3") stage('Deploy on K8s'){ - sh "/usr/local/bin/kubectl -n utils delete po --all" + sh "/usr/local/bin/kubectl -n wetty delete po --all" } } catch (err) {