Commit 1e8531e1 authored by Raphael Defosseux's avatar Raphael Defosseux

adding the scheduling script

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent ca8d1964
#!/bin/groovy
pipeline {
agent {
label 'caracal'
}
options {
disableConcurrentBuilds()
ansiColor('xterm')
}
stages {
stage ('Retrieve latest from branch') {
steps {
script {
checkout([$class: 'GitSCM', branches: [[name: '*/scheduled_pipeline']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gitlab.eurecom.fr/oai/openair-ci-sandbox.git']]])
sh "git clean -x -d -ff"
sh "git log -n1"
}
}
}
}
}
Markdown is supported
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