Create file /etc/systemd/system/[email protected]
[Unit]
Description=%i service with docker compose
Requires=docker.service
After=docker.service
Create file /etc/systemd/system/[email protected]
[Unit]
Description=%i service with docker compose
Requires=docker.service
After=docker.service
pipeline { | |
agent any | |
environment { | |
PACKAGE="github.com/abtris/bee" | |
GOPATH="/Users/abtris/go" | |
GOROOT="/usr/local/opt/go/libexec" | |
} | |
stages { | |
stage('Preparation') { | |
steps { |
import javax.net.ssl.SSLSocket; | |
import javax.net.ssl.SSLSocketFactory; | |
import java.io.*; | |
/** Establish a SSL connection to a host and port, writes a byte and | |
* prints the response. See | |
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
*/ | |
public class SSLPoke { | |
public static void main(String[] args) { |
//Get a list of installed jenkins plugins from the groovy console | |
Jenkins.instance.pluginManager.plugins.each{ | |
plugin -> | |
println ("${plugin.getDisplayName()} (${plugin.getShortName()}): ${plugin.getVersion()}") | |
} |
#Git-flow tutorial
I created a test repository on Github to check if git-flow can aid in keeping a clean branch model. In the steps below you can see how I create a new feature and release containing our new feature.
git clone
git flow init -d
result:
for (int i = 0; i < 10; i++) | |
{ | |
time_t now = time(NULL); | |
printf("The time is %ld\n", now); | |
sleep(2); | |
} |
// | |
// main.c | |
// ch10 | |
// | |
// Created by john salyer on 2/12/13. | |
// Copyright (c) 2013 john salyer. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <time.h> |
// | |
// main.c | |
// Loops | |
// | |
// Created by Curt on 2/5/13. | |
// Copyright (c) 2013 Curt. All rights reserved. | |
// | |
#include <stdio.h> |
// | |
// main.c | |
// Back to Math classes | |
// | |
// Created by Curt on 2/5/13. | |
// Copyright (c) 2013 Curt. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <math.h> |