Skip to content
Snippets Groups Projects
Commit 8cc46562 authored by OZGCloud's avatar OZGCloud
Browse files

change pipeline

parent 1d46565b
Branches
Tags
No related merge requests found
......@@ -13,11 +13,13 @@ pipeline {
stages {
stage('client build') {
steps {
sh 'npm --version'
dir('goofy-client') {
sh 'npm install'
sh 'npm run build'
sh 'npm run test'
container("nodejs"){
sh 'npm --version'
dir('goofy-client') {
sh 'npm install'
sh 'npm run build'
sh 'npm run test'
}
}
}
}
......@@ -41,7 +43,7 @@ pipeline {
openshift.withCluster() {
openshift.withProject() {
dir('goofy-server') {
openshift.startBuild("goofy-builder", "--from-dir=.", "--follow")
openshift.startBuild("goofy-builder", "--from-dir=.", "--follow", "--wait")
}
openshift.tag("goofy-builder:latest", "goofy-builder:${env.BRANCH_NAME}-${version}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment