example-web/Jenkinsfile

20 lines
485 B
Plaintext
Raw Permalink Normal View History

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'
2022-11-09 11:53:42 +04:00
sh "bash ./gradlew bootRun --args='--example-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
}