Skip to content

Commit b8e6894

Browse files
author
bradmorg
committed
template
1 parent 9ad92ad commit b8e6894

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Jenkinsfile Jenkinsfile.template

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
pipeline {
22
agent {
33
node {
4-
label 'python-agent'
4+
label 'jenkins-agent-goes-here'
55
}
66
}
77
stages {
88
stage('Build') {
99
steps {
10-
echo 'Building..'
10+
echo "Building.."
1111
sh '''
12-
cd myapp
13-
pip install -r requirements.txt
12+
echo "doing build stuff.."
1413
'''
1514
}
1615
}
1716
stage('Test') {
1817
steps {
19-
echo 'Testing..'
18+
echo "Testing.."
2019
sh '''
21-
cd myapp
22-
python3 hello.py
23-
python3 hello.py --name=Brad
20+
echo "doing test stuff..
2421
'''
2522
}
2623
}
2724
stage('Deliver') {
2825
steps {
2926
echo 'Deliver....'
27+
sh '''
28+
echo "doing delivery stuff.."
29+
'''
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)