summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMoonchild <wolfbeast@users.noreply.github.com>2016-09-14 09:53:47 +0200
committerGitHub <noreply@github.com>2016-09-14 09:53:47 +0200
commit9fcedeb3476c2174dbbb8a1a89285bbad05aec2a (patch)
tree9f89f3e5fde7a1fce828f6e01b5892542c83ffea /build
parent38b9a8e6dbf4922bfd206e46fe38ac74eac06897 (diff)
parent6c970de1147ecaacd6e7e2b3645362c051c80d51 (diff)
downloadpalemoon-gre-9fcedeb3476c2174dbbb8a1a89285bbad05aec2a.tar.gz
Merge pull request #521 from stevenschlansker/jenkins-build
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