git clone some-git-url proj-name
cd proj-name
git config --local user.name your.name
git config --local user.email your.email
git config --global core.editor vim
git checkout develop
<?jelly escape-by-default='true'?> | |
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"> | |
<html> | |
<head> | |
<title>${project.name}</title> | |
<style> | |
body table, td, th, p, h1, h2 { | |
margin:0; | |
font:normal normal | |
100% Georgia, Serif; |
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"> | |
<html> | |
<head> | |
<title>${project.name}</title> | |
<style> | |
body table, td, th, p, h1, h2 { | |
margin:0; | |
font:normal normal | |
100% Georgia, Serif; | |
background-color: #ffffff; |
<!DOCTYPE html> | |
<head> | |
<title>Sonar violations report</title> | |
<style type="text/css"> | |
body | |
{ | |
margin: 0px; | |
padding: 15px; | |
} |
FROM centos:7 | |
# Install dependencies | |
RUN yum install -y yum-utils gcc git | |
# Enable OpenResty repo (see RHEL section at https://openresty.org/en/linux-packages.html) | |
RUN yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo | |
# Enable EPEL packages (needed for LuaRocks) | |
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm |
# Downloading Oracle JVM without browser | |
Oracle requires you to accept its licence agreement before downloading its JVM. | |
It's a pain for those of us who do automation, native packages, Jenkins JVM deployment on slave... | |
I used Firefox and Firebug to sniff network exchanges. | |
## HTTP Request : | |
GET /otn-pub/java/jdk/6u39-b04/jdk-6u39-linux-i586.bin?AuthParam=1359814101_9685f919f8b3113a89574ec4570d47b2 HTTP/1.1 |
pipeline { | |
agent any | |
stages { | |
stage('Prepare') { | |
steps { | |
sh 'composer install' | |
sh 'rm -rf build/api' | |
sh 'rm -rf build/coverage' | |
sh 'rm -rf build/logs' |
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: filebeat | |
namespace: kube-system | |
labels: | |
k8s-app: filebeat | |
spec: | |
template: | |
metadata: |
user nginx; | |
worker_processes auto; | |
error_log /var/log/nginx/error.log info; | |
pid /var/run/nginx.pid; | |
events { worker_connections 1024; } | |
http { | |
default_type text/html; | |
log_format main '$remote_addr -> $request $status $body_bytes_sent bytes -> $upstream_addr'; | |
access_log /var/log/nginx/access.log main; |