Modified jenkinsfile
This commit is contained in:
parent
6e290c1549
commit
56db22a593
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user