Compare commits

...

8 Commits

Author SHA1 Message Date
William
e060173e84 Update Jenkinsfile 2018-12-05 09:32:02 +11:00
William
4d859da731 Update Jenkinsfile 2018-12-05 09:30:28 +11:00
William
f2deb8675f Update Jenkinsfile 2018-12-05 09:29:37 +11:00
William
67a4952dfd Update Jenkinsfile 2018-12-05 09:29:01 +11:00
William
26e8cfd805 Update Jenkinsfile 2018-12-05 09:28:10 +11:00
William
82718331ce Added Jenkinsfile 2018-12-05 08:39:04 +11:00
William
de38f2829c Added Jenkinsfile 2018-12-05 08:37:46 +11:00
William
b0a608b5cd Added Jenkinsfile 2018-12-05 08:36:21 +11:00

23
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,23 @@
pipeline {
agent any
stages {
stage('Get coriolis-data') {
steps {
sh '''YES=`echo $GIT_BRANCH | awk -F / \'{print $2}\'`
export BRANCH=`git rev-parse --abbrev-ref $YES`
rm -rf $WORKSPACE/../coriolis-data
git clone https://github.com/edcd/coriolis-data.git $WORKSPACE/../coriolis-data
cd ../coriolis-data
git fetch --all
git checkout $BRANCH'''
}
}
stage('Build') {
steps {
sshagent (credentials: ['63c9de04-3213-47c3-8345-2f3442097a5b']) {
sh 'ssh -p 56499 -o StrictHostKeyChecking=no willb@172.17.0.1 echo hi'
}
}
}
}
}