12345678910111213141516171819202122232425262728 |
- pipeline {
- agent any
- stages {
- stage('pullCode'){
- steps{
- echo 'This is a pullCode step'
- checkout scm
- }
- }
- stage('Build') {
- steps {
- echo 'Building..'
- sh 'mvn clean package -Dmaven.test.skip=true'
- }
- }
- stage('Test') {
- steps {
- echo 'Testing..'
- }
- }
- stage('Deploy') {
- steps {
- echo 'Deploying....'
- }
- }
- }
- }
|