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
pipeline { | |
stages { | |
stage('cypress - test') { | |
agent { | |
docker { | |
image 'cypress/base:8' | |
} | |
} |
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
apiVersion: v1 | |
items: [] | |
kind: List | |
metadata: | |
resourceVersion: "" | |
selfLink: "" |
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
pipeline { | |
agent { | |
docker { | |
image 'node:6-alpine' | |
args '-p 3000:3000' | |
} | |
} | |
environment { | |
CI = 'true' | |
} |
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
FROM ubuntu:16.04 | |
RUN apt-get update | |
RUN apt-get install -y git | |
RUN apt-get install -y libxml2-utils | |
RUN apt-get install -y default-jdk | |
RUN apt-get install -y maven | |
RUN apt-get install -y firefox=45.0.2+build1-0ubuntu1 | |
RUN apt-get install -y xvfb | |
RUN apt-get install -y curl wget |
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
FROM ubuntu:16.04 | |
RUN apt-get update | |
RUN apt-get install -y git | |
RUN apt-get install -y libxml2-utils | |
RUN apt-get install -y default-jdk | |
RUN apt-get install -y maven | |
RUN apt-get install -y firefox=45.0.2+build1-0ubuntu1 | |
RUN apt-get install -y xvfb | |
RUN apt-get install -y curl wget |
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
pipeline { | |
agent docker:'cloudbees/java-build-tools' | |
stages { | |
stage ('build') { | |
//deleteDir | |
sh "mvn clean install -B -DcleanNode -Dmaven.test.failure.ignore" | |
sh "node checkdeps.js" | |
} | |
} |
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
{ | |
"stages" : [ | |
{ | |
"name" : "build", | |
"steps" : [ | |
{ | |
"type" : "sh", | |
"value" : "bundle install" | |
}, | |
{ |
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
node { | |
stage "Prepare environment" | |
checkout scm | |
def environment = docker.build 'cloudbees-node' | |
environment.inside { | |
stage "Checkout and build" | |
sh "npm install" |
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
stage "notify" | |
node { | |
sh ''' | |
MSG='This is the message here' | |
SERVER=irc.freenode.net | |
CHANNEL=#mictest | |
USER=mic2234test | |
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
stage "preparation" | |
node { | |
parallel ( | |
phase1: { sh "echo p1; echo phase1" }, | |
phase2: { sh "echo p2; echo phase2" } | |
) | |
sh "echo 42 > data" | |
stash includes: '*', name: 'binary' | |