Revert Jenkinsfile
This commit is contained in:
parent
7cafbc7a5c
commit
7ae001db04
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -1,5 +1,8 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent { label 'ubuntu' }
|
||||||
|
environment {
|
||||||
|
PATH = "/home/jenkins/development/flutter/bin:${env.PATH}"
|
||||||
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Cleanup') {
|
stage('Cleanup') {
|
||||||
@ -7,7 +10,7 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
sh '''#!/bin/sh
|
sh '''#!/bin/sh
|
||||||
set -x
|
set -x
|
||||||
nix-shell -p gocryptfs --command "fusermount -u secrets" || true
|
fusermount -u secrets || true
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -35,7 +38,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sh '''#!/bin/sh
|
sh '''#!/bin/sh
|
||||||
echo \$PASSWORD | nix-shell -p gocryptfs --command "gocryptfs $HOME/android_secrets secrets/ -nonempty"
|
echo \$PASSWORD | gocryptfs $HOME/android_secrets secrets/ -nonempty
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -50,7 +53,7 @@ pipeline {
|
|||||||
|
|
||||||
stage('Build firka') {
|
stage('Build firka') {
|
||||||
steps {
|
steps {
|
||||||
sh 'nix develop -c "./tools/linux/build_apk.sh" "' + env.BRANCH_NAME + '"'
|
sh 'bash -c "./tools/linux/build_apk.sh ' + env.BRANCH_NAME + '"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user