$ azure config mode asm
info: Executing command config mode
info: New mode is asm
info: config mode command OK
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
#!groovy | |
docker.image('cloudbees/java-build-tools:0.0.5').inside { | |
checkout scm | |
def mavenSettingsFile = "${pwd()}/.m2/settings.xml" | |
stage 'Build Web App' | |
wrap([$class: 'ConfigFileBuildWrapper', | |
managedFiles: [[fileId: 'maven-settings-for-gameoflife', targetLocation: "${mavenSettingsFile}"]]]) { |
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
#!groovy | |
# https://github.com/cyrille-leclerc/game-of-life/blob/jenkinsfile/Jenkinsfile | |
docker.image('cloudbees/java-build-tools:0.0.6').inside { | |
checkout scm | |
def mavenSettingsFile = "${pwd()}/.m2/settings.xml" | |
stage 'Build Web App' | |
wrap([$class: 'ConfigFileBuildWrapper', |
docker run -it 62ce0736f1fc bash
python
from selenium import webdriver
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 { | |
git 'https://github.com/CloudBees-community/spring-petclinic.git' | |
env.PATH = "${tool 'Maven 3.2.2'}/bin:${env.PATH}" | |
sh 'mvn package' | |
wrap([$class: 'CloudFoundryCliBuildWrapper', | |
apiEndpoint: 'https://api.hackney.cf-app.com', | |
skipSslValidation: 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
<?xml version="1.0" encoding="UTF-8"?> | |
<mavenExecution _time="2017-02-02 23:02:52.2"> | |
<context _time="2017-02-02 23:02:52.205"> | |
<systemProperties /> | |
<versionProperties /> | |
<workingDirectory /> | |
<userProperties /> | |
<plexus /> | |
</context> | |
<!-- 2017-02-02 23:02:52.206 - new File(.): --> |
git checkout https://github.com/cyrille-leclerc/multi-module-maven-project.git mvn clean install
node {
withMaven(globalMavenSettingsConfig: 'my-global-maven-settings', mavenSettingsConfig: 'my-maven-settings') {
git "https://github.com/spring-projects/spring-petclinic.git"
sh "mvn clean package -DskipTests"
}
}
node {
withMaven(globalMavenSettingsConfig: 'my-global-maven-settings', mavenSettingsConfig: 'my-maven-settings') {
git "https://github.com/cyrille-leclerc/multi-module-maven-project.git"
sh "mvn -Dcom.example.demo2.Demo2ApplicationTests.fail=true clean 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
def qaCatalinaBase = '/opt/apache-tomcat-8-qa' | |
def qaHttpPort = 8081 | |
def stagingCatalinaBase = '/opt/apache-tomcat-8-staging' | |
def stagingHttpPort = 8082 | |
def perfsCatalinaBase = '/opt/apache-tomcat-8-perfs' | |
def perfsHttpPort = 8084 | |
def productionCatalinaBase = '/opt/apache-tomcat-8-production' |