diff --git a/Jenkinsfile b/Jenkinsfile index 12c5592..30c49cf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' + } } } }