Skip to content

Commit 63b9752

Browse files
committed
Add shell commands to build tarballs.
1 parent ef42bad commit 63b9752

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Jenkinsfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ pipeline {
44
stage('Deploy to Demo') {
55
steps {
66
echo 'Building application tarballs.'
7-
sh 'echo \'Running in a shell script\''
8-
sh '''echo "Another shell script?"
9-
'''
7+
sh '''tar czf CloudSession-Pkg-${BUILD_NUMBER}.tar.gz config.py Failures.py
8+
FakeSecHead.py
9+
run.py
10+
Validation.py
11+
app database'''
12+
sh 'tar czf CloudSession-Templates-${BUILD_NUMBER}.tar.gz templates'
13+
sh 'cp CloudSession-Pkg-${BUILD_NUMBER}.tar.gz CloudSession-Pkg-LATEST.tar.gz'
14+
sh 'cp CloudSession-Templates-${BUILD_NUMBER}.tar.gz CloudSession-Templates-LATEST.tar.gz '
1015
}
1116
}
1217
}

0 commit comments

Comments
 (0)