Skip to content

Commit

Permalink
Enable nighty mode when using nightly on VERSION instead of UPLOAD_TO…
Browse files Browse the repository at this point in the history
…_REPO

Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Jul 20, 2023
1 parent 74d37c6 commit fa43a23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jenkins-scripts/docker/lib/debbuild-base.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -x

NIGHTLY_MODE=${NIGHTLY_MODE:-false}
if [ "${UPLOAD_TO_REPO}" = "nightly" ]; then
if [ "${VERSION}" = "nightly" ]; then
OSRF_REPOS_TO_USE="${OSRF_REPOS_TO_USE:-stable nightly}"
NIGHTLY_MODE=true
# SOURCE_TARBALL_URI is reused in nightly mode to indicate the branch
Expand Down
2 changes: 1 addition & 1 deletion jenkins-scripts/dsl/_configs_/OSRFLinuxBuildPkg.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class OSRFLinuxBuildPkg
"Package name to be built")
stringParam("VERSION",
default_params.find{ it.key == "VERSION"}?.value,
"Packages version to be built")
"Packages version to be built or nightly (enable nightly build mode)")
stringParam("RELEASE_VERSION",
default_params.find{ it.key == "RELEASE_VERSION"}?.value,
"Packages release version")
Expand Down

0 comments on commit fa43a23

Please sign in to comment.