test args

This commit is contained in:
jakubknczny 2021-04-11 13:25:20 +02:00
parent b8db48e18f
commit 2bf2f9dc38

View File

@ -2,18 +2,10 @@ pipeline {
agent { agent {
docker { docker {
image 'kubakonieczny/ium:v1.0' image 'kubakonieczny/ium:v1.0'
arg ' >> stats.txt'
} }
} }
stages { stages {
stage('docker') {
steps {
sh '''
cat /etc/issue
ls -lah
python3 lab3/python_script.py >> stats.txt
'''
}
}
stage('archive artifacts') { stage('archive artifacts') {
steps { steps {
archiveArtifacts 'stats.txt' archiveArtifacts 'stats.txt'