Skip to content
Snippets Groups Projects
Commit 60f90876 authored by vkaestle's avatar vkaestle
Browse files

Jenkinsfile

parent 513c7c25
Branches master
No related merge requests found
pipeline {
agent any
stages {
stage("Prepare") {
steps {
deleteDir()
}
}
stage("Checkout") {
steps {
git("https://git.unistra.fr/lamy/tache-simple")
}
}
stage("Build") {
steps {
sh("sleep 10")
sh("mkdir build")
sh("echo \"I'm done!\" > build/result.\$(date +%s)")
}
}
stage("Package") {
steps {
archive(includes: "build/*")
}
}
}
triggers {
pollSCM("* * * * *")
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment