// Powered by Infostretch timestamps { node () { stage ('hamara-sugam-amd64-RDV - Checkout') { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'sagar_git', url: 'https://git.hamaralinux.org/libregeekingkid/hamara-live-build.git']]]) } stage ('hamara-sugam-amd64-RDV - Build') { sh """ #/bin/bash ./makeiso.sh all amd64 hamara-sugam namaste devel.hamaralinux.org schroot -c buster-amd64 --begin-session --session-name amd64 || schroot --recover-session -c amd64 schroot --run-session -c amd64 -u root -- /bin/bash ./mkbuild purge amd64 hamara-sugam schroot --run-session -c amd64 -u root -- /bin/bash ./mkbuild iso amd64 devel.hamaralinux.org hamara-sugam beta schroot --run-session -c amd64 -u root -- /bin/chown -R jenkins:jenkins ./ schroot --end-session -c amd64 """ } stage ('Deploy to the website'){ sh """ #### #Automatically deploy ISO to this link after building the ISO. 1st Feb echo "Not deploying for now" #/bin/bash /hamara-data/scripts/deploy_iso_amd64.sh """ } } }