Skip to content

Commit

Permalink
[#39] mask prerelase directly on workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Bergen committed Jan 22, 2025
1 parent 77b55cd commit 4de66b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ node('vagrant') {
try {

stage('Provision') {
// change namespace to prerelease_namespace if in develop-branch
if (gitflow.isPreReleaseBranch()) {
sh "make prerelease_namespace"
}
ecoSystem.provision("/dogu")
}

Expand All @@ -53,10 +57,6 @@ node('vagrant') {
}

stage('Build') {
// change namespace to prerelease_namespace if in develop-branch
if (gitflow.isPreReleaseBranch()) {
ecoSystem.vagrant.ssh "cd /dogu && make prerelease_namespace"
}
ecoSystem.build("/dogu")
}

Expand Down

0 comments on commit 4de66b8

Please sign in to comment.