Skip to content

Commit

Permalink
ci_: add proxy test creds
Browse files Browse the repository at this point in the history
  • Loading branch information
mendelskiv93 committed Dec 16, 2024
1 parent ee14490 commit 18fef33
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions _assets/ci/Jenkinsfile.tests-rpc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env groovy
library '[email protected]'
library '[email protected]'

def releaseStatus = utils.isReleaseBuild()
def buildType = creds.develOrRelease()

pipeline {
agent { label 'linux && x86_64 && nix-2.19' }
Expand All @@ -15,6 +18,11 @@ pipeline {
defaultValue: true,
description: 'Should the job report test coverage to Codecov?'
)
booleanParam(
name: 'RELEASE',
description: 'Decides whether release credentials are used.',
defaultValue: params.RELEASE ?: false
)
}

options {
Expand All @@ -35,11 +43,20 @@ pipeline {
PKG_URL = "${currentBuild.absoluteUrl}/consoleText"

/* Hack-fix for params not being set in env on first job run. */
BRANCH = "${params.BRANCH}"
BRANCH = "${params.BRANCH}"
FUNCTIONAL_TESTS_REPORT_CODECOV = "${params.FUNCTIONAL_TESTS_REPORT_CODECOV}"
}

stages {
stage('Print Environment') {
steps { script {
echo "Release Build: ${params.RELEASE}"

echo "Release Build Status: ${releaseStatus}"

echo "Build Type: ${buildType}"
} }
}
stage('RPC Tests') {
steps { script {
withCredentials([
Expand Down

0 comments on commit 18fef33

Please sign in to comment.