Last active
January 12, 2020 00:00
-
-
Save WoodProgrammer/1ee913fed1bf6cd6c70ee587f0cb2b18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
- script: > | |
pipelineJob('default-agent') { | |
definition { | |
cps { | |
script("""\ | |
pipeline { | |
agent any | |
stages { | |
stage('Build') { | |
steps { | |
echo 'Building..' | |
} | |
} | |
stage('Test') { | |
steps { | |
echo 'Testing..' | |
} | |
} | |
stage('Deploy') { | |
steps { | |
echo 'Deploying....' | |
} | |
} | |
} | |
} | |
}""".stripIndent()) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment