This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Map<String, Object> getReportParameters() | |
{ | |
final Map parameters = new HashMap<String, Object>(); | |
parameters.put("Report Title", "Simple Embedded Report Example with Parameters"); | |
parameters.put("Col Headers BG Color", "yellow"); | |
parameters.put("Customer Names", | |
new String [] { | |
"American Souvenirs Inc", | |
"Toys4GrownUps.com", | |
"giftsbymail.co.uk", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Map<String, Object> getReportParameters() | |
{ | |
final Map parameters = new HashMap<String, Object>(); | |
parameters.put("Report Title", "Simple Embedded Report Example with Parameters"); | |
parameters.put("Col Headers BG Color", "yellow"); | |
parameters.put("Customer Names", | |
new String [] { | |
"American Souvenirs Inc", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Countries IDS": { | |
"value": [ | |
23, | |
45, | |
32, | |
97, | |
101 | |
], | |
"type": "Ïnteger[]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Ubuntu Xenial | |
if [ ! -f /etc/init.d/jenkins ];then | |
curl -L http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
echo "deb http://pkg.jenkins-ci.org/debian binary/" > /etc/apt/sources.list.d/jenkins.list | |
apt-get -y update | |
apt-get install -y openjdk-8-jdk jenkins | |
# wait jenkins http port | |
echo "wait Jenkins service " | |
while [ "`netstat -tunl|grep 8080`" = "" ];do echo -n "."; sleep 1; done |