Skip to content

Instantly share code, notes, and snippets.

View salvatoretrimarchi's full-sized avatar
🙂
Happy

Josué Pinto salvatoretrimarchi

🙂
Happy
View GitHub Profile
@salvatoretrimarchi
salvatoretrimarchi / install_jenkins.sh
Created September 3, 2018 16:37 — forked from nekoya/install_jenkins.sh
Install Jenkins
#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
{
"Countries IDS": {
"value": [
23,
45,
32,
97,
101
],
"type": "Ïnteger[]"
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",
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",