Fix syntax error
This commit is contained in:
parent
a4c6f91e47
commit
f467f07cf6
1 changed files with 88 additions and 65 deletions
153
Jenkinsfile
vendored
153
Jenkinsfile
vendored
|
@ -15,13 +15,16 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
git reset --hard
|
script {
|
||||||
git clean -xfd
|
sh '''
|
||||||
'''
|
#!/bin/bash
|
||||||
|
|
||||||
|
git reset --hard
|
||||||
|
git clean -xfd
|
||||||
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Clean Docker Caches") {
|
stage("Clean Docker Caches") {
|
||||||
|
@ -29,12 +32,14 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
script {
|
||||||
#!/bin/bash
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
docker system prune --volumes -f
|
docker system prune --volumes -f
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,14 +48,16 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
script {
|
||||||
#!/bin/bash
|
sh '''
|
||||||
docker-compose down
|
#!/bin/bash
|
||||||
|
docker-compose down
|
||||||
|
|
||||||
docker stop linuxbuilder || true
|
docker stop linuxbuilder || true
|
||||||
docker stop linuxfs || true
|
docker stop linuxfs || true
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,13 +66,15 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
script {
|
||||||
#!/bin/bash
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:debian DebianBase
|
docker build -t git.zontreck.com/ariascreations/buildenvironments:debian DebianBase
|
||||||
docker push git.zontreck.com/ariascreations/buildenvironments:debian
|
docker push git.zontreck.com/ariascreations/buildenvironments:debian
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,14 +83,16 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
script {
|
||||||
#!/bin/bash
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:debianbuild DebianBuilder
|
docker build -t git.zontreck.com/ariascreations/buildenvironments:debianbuild DebianBuilder
|
||||||
docker push git.zontreck.com/ariascreations/buildenvironments:debianbuild
|
docker push git.zontreck.com/ariascreations/buildenvironments:debianbuild
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,13 +101,15 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
script {
|
||||||
#!/bin/bash
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:adk AndroidSDK
|
docker build -t git.zontreck.com/ariascreations/buildenvironments:adk AndroidSDK
|
||||||
docker push git.zontreck.com/ariascreations/buildenvironments:adk
|
docker push git.zontreck.com/ariascreations/buildenvironments:adk
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -105,13 +118,15 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
script {
|
||||||
#!/bin/bash
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:flutter FlutterSdk
|
docker build -t git.zontreck.com/ariascreations/buildenvironments:flutter FlutterSdk
|
||||||
docker push git.zontreck.com/ariascreations/buildenvironments:flutter
|
docker push git.zontreck.com/ariascreations/buildenvironments:flutter
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -120,13 +135,15 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
script {
|
||||||
#!/bin/bash
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:appimage AppImage
|
docker build -t git.zontreck.com/ariascreations/buildenvironments:appimage AppImage
|
||||||
docker push git.zontreck.com/ariascreations/buildenvironments:appimage
|
docker push git.zontreck.com/ariascreations/buildenvironments:appimage
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,13 +152,15 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
script {
|
||||||
#!/bin/bash
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:linux LinuxGeneralCompiler
|
docker build -t git.zontreck.com/ariascreations/buildenvironments:linux LinuxGeneralCompiler
|
||||||
docker push git.zontreck.com/ariascreations/buildenvironments:linux
|
docker push git.zontreck.com/ariascreations/buildenvironments:linux
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -150,13 +169,15 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
script {
|
||||||
#!/bin/bash
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:linuxfs FirestormLinux
|
docker build -t git.zontreck.com/ariascreations/buildenvironments:linuxfs FirestormLinux
|
||||||
docker push git.zontreck.com/ariascreations/buildenvironments:linuxfs
|
docker push git.zontreck.com/ariascreations/buildenvironments:linuxfs
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,12 +186,14 @@ pipeline {
|
||||||
label dockermain
|
label dockermain
|
||||||
}
|
}
|
||||||
|
|
||||||
script {
|
steps {
|
||||||
sh '''
|
script {
|
||||||
#!/bin/bash
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
docker system prune --volumes -f
|
docker system prune --volumes -f
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue