Skip to content

Commit

Permalink
[jenkins][temporary] test/try something
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
  • Loading branch information
marcdumais-work committed Jul 10, 2023
1 parent bd98b5d commit 1cde944
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ releaseBranch = "master"
// installers. It can sometimes be necessary to run these steps, e.g.
// when troubleshooting. To do that, temporarily chose 'true' below
// note: we will still stop short of publishing anything.
dryRunRelease = false
// dryRunRelease = false
// dryRunRelease = true
dryRunRelease = env.BLUEPRINT_JENKINS_RELEASE_DRYRUN ? true : false

// Attempt to detect that a PR is Jenkins-related, by looking-for
// the word "jenkins" (case insensitive) in PR branch name and/or
Expand Down Expand Up @@ -268,6 +269,12 @@ def buildInstaller(int sleepBetweenRetries, boolean excludeBrowser) {
int maxRetry = 3
String buildPackageCmd

if (dryRunRelease) {
echo "*** dryRunRelease: is TRUE"
} else {
echo "*** dryRunRelease: is FALSE"
}

checkout scm
if (excludeBrowser) {
buildPackageCmd = 'yarn --frozen-lockfile --force && \
Expand Down

0 comments on commit 1cde944

Please sign in to comment.