list files
This commit is contained in:
parent
8b420ff671
commit
d2defd8dd0
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -1,6 +1,5 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
//Definijuemy parametry, które będzie można podać podczas wywoływania zadania
|
|
||||||
parameters {
|
parameters {
|
||||||
string (
|
string (
|
||||||
defaultValue: 'Hello World!',
|
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']]])
|
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 {
|
steps {
|
||||||
echo 'Goodbye!'
|
script {
|
||||||
//Zarchiwizuj wynik
|
sh 'ls -la'
|
||||||
archiveArtifacts 'output.txt'
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user