Modified jenkinsfile

This commit is contained in:
Jakub Henyk 2023-04-04 18:50:50 +02:00
parent 6e290c1549
commit 56db22a593

9
Jenkinsfile vendored
View File

@ -1,5 +1,7 @@
pipeline {
agent any
agent {
dockerfile true
}
//Definijuemy parametry, ktore bedzie mozna podac podczas wywolywania zadania
parameters {
string (
@ -13,8 +15,9 @@ pipeline {
stage('Run Script') {
steps {
script {
sh "chmod +x -R ${env.WORKSPACE}"
sh './take_data.sh | tee output.txt'
//sh "chmod +x -R ${env.WORKSPACE}"
//sh './take_data.sh | tee output.txt'
sh 'node --version | tee output.txt'
}
}