Bumped build
This commit is contained in:
parent
a9c3016a98
commit
418bed735b
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -1,7 +1,7 @@
|
|||||||
node("docker-node") {
|
node("docker-node") {
|
||||||
docker.withRegistry('https://harbor.ervine.dev', 'jenkins-to-harbor') {
|
docker.withRegistry('https://harbor.ervine.dev', 'jenkins-to-harbor') {
|
||||||
|
|
||||||
git branch: "3.10.5", url: "ssh://git@git.ervine.org/jonny/x86_64-alpine-watcher", credentialsId: 'jenkins-to-git'
|
git branch: "master", url: "ssh://git@git.ervine.org/jonny/x86_64-alpine-watcher", credentialsId: 'jenkins-to-git'
|
||||||
|
|
||||||
sh "git rev-parse HEAD > .git/commit-id"
|
sh "git rev-parse HEAD > .git/commit-id"
|
||||||
def commit_id = readFile('.git/commit-id').trim()
|
def commit_id = readFile('.git/commit-id').trim()
|
||||||
@ -14,6 +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("3.10.5")
|
||||||
|
|
||||||
stage('Deploy on K8s'){
|
stage('Deploy on K8s'){
|
||||||
sh "/usr/local/bin/kubectl -n media delete po watcher-0"
|
sh "/usr/local/bin/kubectl -n media delete po watcher-0"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user