We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8771d1 commit af021b1Copy full SHA for af021b1
1 file changed
Jenkinsfile
@@ -1,36 +1,13 @@
1
pipeline {
2
- node 'deployment_node' {
3
-
+ agent { docker { image 'maven:3.3.3' } }
4
stages {
5
- stage('Build') {
+ stage('checkout & build') {
6
steps {
7
+ checkout scm
8
}
9
- }
10
- stage('build docker image') {
11
- steps {
12
13
14
15
16
- stage('push docker image registory') {
17
18
+ sh 'mvn package'
19
20
21
22
- stage('application deployment by docker') {
23
24
25
26
27
28
- stage('Deploy') {
29
30
- echo 'Deploying....'
31
32
33
34
35
36
0 commit comments