Add Jenkinsfile to branch
oginstaller/pipeline/head There was a failure building this commit
Details
oginstaller/pipeline/head There was a failure building this commit
Details
parent
59577c48af
commit
bd1c61dff9
|
@ -0,0 +1,20 @@
|
|||
pipeline {
|
||||
agent {
|
||||
label 'ogAdministrator'
|
||||
}
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh "echo root > root_passwd"
|
||||
sh 'docker run --privileged -v /dev:/dev -v /run:/run -v $(pwd):/installer -w /installer --rm opengnsys/oginstallerbuilder ./builder.sh'
|
||||
}
|
||||
}
|
||||
stage ('Upload Image to NFS')
|
||||
{
|
||||
steps {
|
||||
sh "cp ubuntu-from-scratch.iso /mnt/srv/artefactos/oginstaller/oginstaller-${BRANCH_NAME}_${BUILD_NUMBER}.iso"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue