-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: github-pr-coverage-status-plugin
-
None
Below code of pipeline where printenv show all envs however plugins see just a few of them and doesn't see required:
pipeline {
agent any
options {
skipDefaultCheckout()
}
environment {
DOCKER_REPO = 'mobilityhouse'
CHANGE_URL = "https://@github.com/mobilityhouse/testci.git"
}
stages{
stage('Coverage & Tests') {
steps {
sh 'printenv'
script {
currentBuild.result = 'SUCCESS'
env.CHANGE_URL = "https://@github.com/mobilityhouse/testci.git"
}
}
}
}
post {
success {
sh 'ls && printenv'
step([$class: 'MasterCoverageAction'])
}
}
}
Â