Revert Jenkinsfile
All checks were successful
Firka/firka/pipeline/head This commit looks good
firka/firka/pipeline/head This commit looks good

This commit is contained in:
Armand 2025-07-10 08:53:15 +02:00
parent 7cafbc7a5c
commit 7ae001db04

11
Jenkinsfile vendored
View File

@ -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 + '"'
} }
} }