list files

This commit is contained in:
Adam Wojdyla 2022-03-26 10:53:51 +01:00
parent 8b420ff671
commit d2defd8dd0

9
Jenkinsfile vendored
View File

@ -1,6 +1,5 @@
pipeline {
agent any
//Definijuemy parametry, które będzie można podać podczas wywoływania zadania
parameters {
string (
defaultValue: 'Hello World!',
@ -15,11 +14,11 @@ pipeline {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: '8b8d54ee-f03c-4980-90b1-959faa97082b', url: 'https://git.wmi.amu.edu.pl/s444507/ium_444507.git']]])
}
}
stage('Goodbye!') {
stage('Script') {
steps {
echo 'Goodbye!'
//Zarchiwizuj wynik
archiveArtifacts 'output.txt'
script {
sh 'ls -la'
}
}
}
}