Copyright 2018 - Matt Harrison
@__mharrison__
import com.cloudbees.plugins.credentials.* | |
import com.cloudbees.plugins.credentials.common.* | |
import com.cloudbees.plugins.credentials.domains.* | |
import com.cloudbees.plugins.credentials.impl.* | |
import com.cloudbees.jenkins.plugins.sshcredentials.impl.* | |
import org.jenkinsci.plugins.plaincredentials.impl.* | |
// def item = Jenkins.instance.getItem("your-folder") |
#!/bin/bash | |
# author: Yoram van de Velde ( [email protected] ) | |
# Examples of why pipefail is really important to use. | |
# We enable exit on error functionality | |
set -o errexit | |
# These commands will fail but not stop the script because of the pipes | |
# to succesfull commands. This works because error is output to stderr, |
AWSTemplateFormatVersion: '2010-09-09' | |
Metadata: {} | |
Parameters: | |
########### | |
KeyName: | |
Description: The EC2 Key Pair to allow SSH access to the instance | |
Type: 'AWS::EC2::KeyPair::KeyName' | |
AvailabilityZone: | |
Description: Availability zone to deploy |
version: "2" | |
services: | |
varnish: | |
#hostname: magento2.docker | |
image: meanbee/magento2-varnish:latest | |
environment: | |
- VIRTUAL_HOST=magento2.docker | |
- VIRTUAL_PORT=80 | |
- HTTPS_METHOD=noredirect | |
ports: |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
tools:context=".MainActivity"> |
# Use centos/7 | |
$ vagrant init centos/7 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |