mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 13:35:50 +00:00
simplfy pipeline for pipe-dev
This commit is contained in:
parent
274908d01e
commit
f1fedada43
1 changed files with 1 additions and 24 deletions
25
Jenkinsfile
vendored
25
Jenkinsfile
vendored
|
@ -5,7 +5,7 @@ pipeline {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'maven:3.5.0'
|
image 'maven:3.5.0'
|
||||||
args '-e INITIAL_ADMIN_USER -e INITIAL_ADMIN_PASSWORD --network=${LDOP_NETWORK_NAME}'
|
args '--network=pipelinedeveloper_default'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
@ -26,28 +26,5 @@ pipeline {
|
||||||
//sh 'cp target/petclinic.war /usr/share/jenkins/ref/tomcat/petclinic.war'
|
//sh 'cp target/petclinic.war /usr/share/jenkins/ref/tomcat/petclinic.war'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Sonar') {
|
|
||||||
agent {
|
|
||||||
docker {
|
|
||||||
image 'sebp/sonar-runner'
|
|
||||||
args '-e SONAR_ACCOUNT_LOGIN -e SONAR_ACCOUNT_PASSWORD -e SONAR_DB_URL -e SONAR_DB_LOGIN -e SONAR_DB_PASSWORD --network=${LDOP_NETWORK_NAME}'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
sh '/opt/sonar-runner-2.4/bin/sonar-runner -D sonar.username=${SONAR_ACCOUNT_LOGIN} -D sonar.password=${SONAR_ACCOUNT_PASSWORD} -D sonar.jdbc.url=${SONAR_DB_URL} -D sonar.jdbc.username=${SONAR_DB_LOGIN} -D sonar.jdbc.password=${SONAR_DB_PASSWORD}'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Selenium') {
|
|
||||||
agent {
|
|
||||||
docker {
|
|
||||||
image 'liatrio/selenium-firefox'
|
|
||||||
args '--network=${LDOP_NETWORK_NAME}'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
sh 'echo running Selenium'
|
|
||||||
//sh 'ruby petclinic_spec.rb'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue