@@ -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') {
+ echo 'Testing..'
+ stage('Deploy') {
+ echo 'Deploying....'
}
- stage('Test') {
- }
- stage('Deploy') {
- echo 'Deploying....'
-}
+}