Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 3a4e44d348
Fetching contributors…

Cannot retrieve contributors at this time

executable file 10 lines (8 sloc) 0.406 kB
#!/bin/bash -ex
if [ "$2" == "" ]; then
echo "Usage: build-on-jenkins path/to/war path/to/output/msi"
exit 1
fi
tar cvzf bundle.tgz FindJava.java build.sh jenkins.wxs
v=$(unzip -p "$1" META-INF/MANIFEST.MF | grep Implementation-Version | cut -d ' ' -f2 | tr -d '\r')
java -jar jenkins-cli.jar dist-fork -z bundle.tgz -f jenkins.war="$1" -l windows -F "jenkins-$v.msi=$2" bash -ex build.sh jenkins.war
Jump to Line
Something went wrong with that request. Please try again.