Skip to content

Commit

Permalink
jenkins: better options
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Jun 27, 2018
1 parent cd66ebc commit f57a7b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tools/jenkins/createBuildOptionsFile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ BUILD_NAME=""
# Where the final build artifacts (binaries) are stored
BUILD_ARCHIVE_DIRECTORY=""
# Set to 1 to also build a online installer (only available for Windows and Linux).
# Set to 1 to also build a online installer for SNAPSHOT and RELEASE builds (only available for Windows and Linux).
WITH_ONLINE_INSTALLER=""
# The date at which the build started
CURRENT_DATE=""
# If set to 1, deb and rpm packages will not be built. Otherwise they are only built for a release
# If set to 1, deb and rpm packages will never be built. Default is to build when NATRON_BUILD_CONFIG=STABLE.
DISABLE_RPM_DEB_PKGS=""
# If set to 1, a portable archive will not be built
Expand Down
9 changes: 5 additions & 4 deletions tools/jenkins/launchBuildMain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -329,12 +329,13 @@ setBuildOption "GIT_TRIGGER_COMMIT" "$GIT_COMMIT"


# Only use online installer for snapshots or releases
if [ "$TYPE" = "SNAPSHOT" ] || [ "$TYPE" = "RELEASE" ]; then
WITH_ONLINE_INSTALLER=1
else
if [ "$TYPE" != "SNAPSHOT" ] && [ "$TYPE" != "RELEASE" ]; then
WITH_ONLINE_INSTALLER=0
else
WITH_ONLINE_INSTALLER="${WITH_ONLINE_INSTALLER:-0}"
fi
setBuildOption "WITH_ONLINE_INSTALLER" "$WITH_ONLINE_INSTALLER"

setBuildOption "WITH_ONLINE_INSTALLER" "${WITH_ONLINE_INSTALLER}"


# If 1, source files will be compressed and uploaded with the binary
Expand Down

0 comments on commit f57a7b0

Please sign in to comment.