-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
39 lines (36 loc) · 970 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* Requires the Docker Pipeline plugin */
pipeline {
agent none
/*
options {
timeout(time: 60, unit: 'SECONDS')
}
*/
/* agent { docker { image 'python:3.10.7-alpine' } } */
/* agent { docker { image 'python:3' } }*/
stages {
/*
stage('Check python') {
agent { docker { image 'python:3.10.7-alpine' } }
steps {
sh 'python --version'
}
}
*/
stage('Find dups') {
agent { docker { image 'python:3' } }
steps {
sh '''
echo "This is the second step"
hostname
which identify
ls -lR
chmod +x findDuplicateImages.sh
echo "nothing" > test1.jpg
echo "nothing" > test2.jpg
./findDuplicateImages.sh ./
'''
}
}
}
}