count lines of file - chmod 755

This commit is contained in:
s407323 2019-04-26 12:21:16 +02:00
parent ea31286068
commit 282bab932a

1
Jenkinsfile vendored
View File

@ -20,6 +20,7 @@ pipeline {
echo 'Sklonowanie repozytorium git' echo 'Sklonowanie repozytorium git'
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407323/s407323-mlworkshops']]]) checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407323/s407323-mlworkshops']]])
echo 'Wywołanie skryptu shella' echo 'Wywołanie skryptu shella'
sh 'chmod 755 ./script.sh'
sh './script.sh' sh './script.sh'
echo 'Zarchiwizowanie wyniku' echo 'Zarchiwizowanie wyniku'
archiveArtifacts 'output.txt' archiveArtifacts 'output.txt'