diff --git a/Jenkinsfile b/Jenkinsfile
index c05db0d5cf1899ec3a18031996404ee837b4ddf5..0c95d26d012d5f7187acc7bb627766914720dcf6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -3,13 +3,13 @@ pipeline {
     environment {
         userId = "KYH"
     }
-    stages {
-        stage('Prepare'){
+    @stages {
+        @stage('Prepare'){
             agent any
             steps {
                 checkout scm
             }
-        }post {
+        }@post {
             success{
                 echo 'prepare success'
             }
@@ -23,11 +23,11 @@ pipeline {
             }
         }
     }
-    stages('maven build'){
-        steps {
+    @stages('maven build'){
+        @steps {
             sh  'mvn package'
         }
-        post {
+        @post {
             success{
                 echo 'maven build success'
             }
@@ -37,7 +37,7 @@ pipeline {
                                     message: "\${env.userId} STARTED: Job '\${env.JOB_NAME} [\$(env.BUILD_NUMBER)]'(\${env.BUILD_URL})")
             }
         }
-        failure {
+        @failure {
             echo 'maven build failed'
         }
     }