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
JENKINS_HOME="/usr/share/java/jenkins" | |
LOG="/var/log/slave-jenkins.log" | |
JENKINS_URL="http://jenkins.url:8080" | |
SLAVE_COMPUTER="slave_computer_name" | |
REMOTE_JAR="$JENKINS_URL/jnlpJars/slave.jar" | |
JNLP_URL="$JENKINS_URL/computer/$SLAVE_COMPUTER/slave-agent.jnlp" | |
SECRET="YOUR SECRET ON JENKINS" |
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
#!/usr/bin/env python | |
import cgi | |
import urllib | |
import urllib2 | |
import sys | |
import cgitb | |
cgitb.enable() | |
AMQ_URL = 'http://amq:8161/api/message/healthcheck.xpto?type=queue&clientId=xpto' |
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
#!/usr/bin/env python | |
import cgi | |
import urllib | |
import urllib2 | |
import sys | |
import cgitb | |
cgitb.enable() | |
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
import socket | |
from time import sleep | |
import os | |
import unittest | |
import tempfile | |
from subprocess import Popen, PIPE | |
from flask import url_for | |
import flaskr |
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
SELECT | |
client.id, | |
client.name, | |
fop.start_effective_date, | |
fop.end_effective_date, | |
EXTRACT(month FROM fop.end_effective_date)::integer AS month, | |
SUM(CASE subscription.product_id WHEN 64 THEN subscription.unit_value ELSE subscription.unit_value * subscription.qty END) AS total | |
FROM | |
master | |
LEFT JOIN |
NewerOlder