-
Notifications
You must be signed in to change notification settings - Fork 27
/
Jenkinsfile
31 lines (29 loc) · 1.14 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pipeline {
agent any
stages {
stage('Start Deploy image') {
//agent {
// kubernetes {
//containerTemplate{
// image 'mrnonz/alpine-git-curl:latest'
// name 'armory-cli'
// command '/bin/sh -c "git clone https://github.com/stephenatwell/borealis-demo-1.git && cd borealis-demo-1 && pwd && curl -sL https://github.com/armory/armory-cli/releases/latest/download/armory-linux-amd64 > ./armory && chmod +x ./armory && ls -la && /bin/sh -c \'/borealis-demo-1/armory deploy start -f deploy.yml -c CLIENT_ID -s SECRET\'"'
//}
// defaultContainer 'armory-cli'
// yamlFile 'jenkinsPod.yml'
// idleMinutes 1
// }
//}
tools{
CustomTool 'armory'
}
steps{
//container('armory-cli'){
sh 'echo $PATH'
sh 'ls -la /bin'
sh 'armory deploy start -f deploy.yml -c CLIENT_ID -s SECRET'
//}
}
}
}
}