mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 14:33:22 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e060173e84 | ||
|
|
4d859da731 | ||
|
|
f2deb8675f | ||
|
|
67a4952dfd | ||
|
|
26e8cfd805 | ||
|
|
82718331ce | ||
|
|
de38f2829c | ||
|
|
b0a608b5cd |
23
Jenkinsfile
vendored
Normal file
23
Jenkinsfile
vendored
Normal 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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user