You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
963 B

pipeline {
agent { label 'master' }
environment{
REPO_SCRIPTS = "https://git.teajay.cc/teajay/FFKW-Jenkins-Scripte"
REPO_GLUON = "https://github.com/freifunk-gluon/gluon.git"
DIR_SCRIPTS = "scrpt"
DIR_GLUON = "gluon"
}
stages {
stage('clone') {
steps {
echo ""
echo "###################"
echo "# Cloning Repos #"
echo "###################"
echo ""
echo "checking out build scripts"
dir("${DIR_SCRIPTS}"){
git "${REPO_SCRIPTS}"
}
dir("${DIR_GLUON}"){
sh "git clone https://github.com/freifunk-gluon/gluon.git gluon -b ${VERSION}"
}
sh "ls -l"
}
}
stage('clean'){
steps{
sh "rm -r ./*"
}
}
}
}