Skip to content

Commit

Permalink
[CI Jenkins] Use Docker container to deploy (PolusAI#10)
Browse files Browse the repository at this point in the history
ci: run Jenkins deploy using Docker container

Signed-off-by: Konstantin Taletskiy <konstantin.taletskiy@labshare.org>
  • Loading branch information
Konstantin Taletskiy authored Jul 20, 2022
1 parent 14e5236 commit d6dd17f
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions deploy/Jenkins/jupyterhub/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
pipeline {
agent {
node { label 'aws && build && linux && ubuntu' }
docker {
image 'polusai/helm-jenkins:0.1.1'
label 'aws && build && linux && ubuntu'
}
}
options { timestamps () }
parameters {
Expand All @@ -16,12 +19,6 @@ pipeline {
pollSCM('H/5 * * * *')
}
stages {
stage('Checkout source code') {
steps {
cleanWs()
checkout scm
}
}
stage('Deploy JupyterHub to AWS CI') {
steps {
dir('deploy/Helm/jupyterhub') {
Expand All @@ -39,11 +36,4 @@ pipeline {
}
}
}
post {
always {
script {
cleanWs()
}
}
}
}

0 comments on commit d6dd17f

Please sign in to comment.