modified: Dockerfile
modified: Jenkinsfile Updated to use master branch
This commit is contained in:
parent
d05ab10223
commit
c6b6789a34
@ -7,7 +7,7 @@ WORKDIR /src
|
|||||||
RUN apk add --no-cache --virtual .build-deps \
|
RUN apk add --no-cache --virtual .build-deps \
|
||||||
git python make g++ \
|
git python make g++ \
|
||||||
&& apk add --no-cache openssh-client \
|
&& 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 \
|
&& npm install \
|
||||||
&& apk del .build-deps \
|
&& apk del .build-deps \
|
||||||
&& adduser -h /src -D term \
|
&& adduser -h /src -D term \
|
||||||
|
|||||||
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -14,8 +14,7 @@ node("docker-node") {
|
|||||||
stage "publish"
|
stage "publish"
|
||||||
app.push("${env.BUILD_NUMBER}")
|
app.push("${env.BUILD_NUMBER}")
|
||||||
app.push("latest")
|
app.push("latest")
|
||||||
app.push("1.3.0")
|
app.push("master")
|
||||||
app.push("1.3")
|
|
||||||
|
|
||||||
stage('Deploy on K8s'){
|
stage('Deploy on K8s'){
|
||||||
sh "/usr/local/bin/kubectl -n wetty delete po --all"
|
sh "/usr/local/bin/kubectl -n wetty delete po --all"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user