2022-11-09 10:08:13 +04:00
|
|
|
pipeline {
|
2022-11-09 11:44:26 +04:00
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'romanov73/is:ng-tracker-container-11'
|
|
|
|
}
|
|
|
|
}
|
2022-11-09 10:08:13 +04:00
|
|
|
stages {
|
|
|
|
stage('Cloning Git') {
|
2022-11-09 11:44:26 +04:00
|
|
|
steps {
|
|
|
|
git([url: 'https://git.athene.tech/romanov73/example-web.git', branch: 'master'])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Test') {
|
2022-11-09 10:08:13 +04:00
|
|
|
steps {
|
2022-11-09 11:44:26 +04:00
|
|
|
sh 'java -version'
|
|
|
|
sh 'bash ./gradlew bootRun -Dexample-web.check-run=true'
|
2022-11-09 10:08:13 +04:00
|
|
|
}
|
|
|
|
}
|
2022-11-09 11:44:26 +04:00
|
|
|
}
|
2022-11-08 13:01:33 +04:00
|
|
|
}
|