test args
This commit is contained in:
parent
b8db48e18f
commit
2bf2f9dc38
@ -2,18 +2,10 @@ pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'kubakonieczny/ium:v1.0'
|
||||
arg ' >> stats.txt'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('docker') {
|
||||
steps {
|
||||
sh '''
|
||||
cat /etc/issue
|
||||
ls -lah
|
||||
python3 lab3/python_script.py >> stats.txt
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('archive artifacts') {
|
||||
steps {
|
||||
archiveArtifacts 'stats.txt'
|
||||
|
Loading…
Reference in New Issue
Block a user