summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSteven Schlansker <sschlansker@opentable.com>2016-09-13 17:52:51 -0700
committerSteven Schlansker <sschlansker@opentable.com>2016-09-13 17:52:51 -0700
commit6c970de1147ecaacd6e7e2b3645362c051c80d51 (patch)
tree37eac43e6eef9947e5035ce83d87afba1d39c3e2 /build
parentd79459b7f52528f477c84469449d50550abea26f (diff)
downloadpalemoon-gre-6c970de1147ecaacd6e7e2b3645362c051c80d51.tar.gz
Jenkins build script
Diffstat (limited to 'build')
-rw-r--r--build/macosx/pm-jenkins-build.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/build/macosx/pm-jenkins-build.sh b/build/macosx/pm-jenkins-build.sh
new file mode 100644
index 000000000..b307c23f4
--- /dev/null
+++ b/build/macosx/pm-jenkins-build.sh
@@ -0,0 +1,19 @@
+# This script is invoked by Jenkins to execute
+# incremental builds and upload the produced *.dmg
+# files to the distribution mirror.
+
+# Since it is intended to be checked in and public, please
+# do not commit sensitive information e.g. server or port here.
+
+export PATH=/usr/local/bin:$PATH
+export AUTOCLOBBER=1
+export MOZCONFIG=$(pwd)/build/macosx/mozconfig.tycho
+
+rm -rf obj-*darwin*/dist
+
+./mach build
+./mach package
+
+pushd obj-*darwin*/dist
+scp -P ${PORT} palemoon-*.dmg ${DIST}/$(ls palemoon-*.dmg | sed "s/\.en-US/-${BUILD_NUMBER}-${FLAVOR}.en-US/")
+popd