diff --git a/Jenkinsfile b/Jenkinsfile index 4d2060d..6336018 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } }