ium_452627/Jenkinsfile_2

20 lines
472 B
Plaintext
Raw Normal View History

pipeline {
agent any
//Definijuemy parametry, ktore bedzie mozna podac podczas wywolywania zadania
stages {
stage('Run Script') {
steps {
script {
sh "chmod +x -R ${env.WORKSPACE}"
sh './make_statistic.sh | tee output.txt'
}
}
}
stage('Archive Output') {
steps {
archiveArtifacts 'output.txt'
}
}
}
}