|
|
@@ -1,16 +1,24 @@
|
|
|
-node {
|
|
|
+pipeline {
|
|
|
checkout scm
|
|
|
agent { label 'smartos' }
|
|
|
|
|
|
- stage('Build') {
|
|
|
- echo 'Building....'
|
|
|
- echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}"
|
|
|
- sh 'buildscripts/clean.sh'
|
|
|
+ stages {
|
|
|
+ stage('Build') {
|
|
|
+ steps {
|
|
|
+ echo 'Building..'
|
|
|
+ echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}"
|
|
|
+ sh 'buildscripts/clean.sh'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ stage('Test') {
|
|
|
+ steps {
|
|
|
+ echo 'Testing..'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ stage('Deploy') {
|
|
|
+ steps {
|
|
|
+ echo 'Deploying....'
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
- stage('Test') {
|
|
|
- echo 'Building....'
|
|
|
- }
|
|
|
- stage('Deploy') {
|
|
|
- echo 'Deploying....'
|
|
|
- }
|
|
|
-}
|
|
|
+}
|