example.txt in jenkins

This commit is contained in:
Małgorzata Schmidt 2019-04-26 11:43:08 +02:00
parent 50fb0d2780
commit 23ce3b5b39
2 changed files with 3 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -5,7 +5,7 @@ pipeline {
steps {
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s407608/s407608-mlworkshops']]])
sh 'ssh my_shell_script.sh > results.txt'
sh 'sh my_shell_script.sh example.txt > results.txt'
}
}
}

View File

@ -1 +1,2 @@
wc -l example.txt
file1=$1
wc -l $file1