Add Jenkinsfile to repo
Beginner pipeline
This commit is contained in:
parent
128e9ba59f
commit
1a51293f45
1 changed files with 14 additions and 0 deletions
14
Jenkinsfile
vendored
Normal file
14
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
stages {
|
||||||
|
stage("Build") {
|
||||||
|
steps {
|
||||||
|
sh 'echo "Hello World"'
|
||||||
|
sh '''
|
||||||
|
echo "Multiline shell steps work too"
|
||||||
|
ls -lah
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue