Comments (7)
How do you think we should get around this? It's default Jenkins behavior AFAICT.
from aos-cd-jobs.
Either https://wiki.jenkins.io/display/JENKINS/Export+Parameters+Plugin may work or we can query Jenkins params from inside which sounds meh.
from aos-cd-jobs.
As a workaround for now, we can default to <none>
(what I did in the new fork_ami job).
from aos-cd-jobs.
or we can query Jenkins params from inside which sounds meh.
Hm, if we can't have the build id then this is not possible. Chicken-egg problem.
from aos-cd-jobs.
What is a concrete example of this failure? When the job should either do the old flow (with $ORIGIN_PULL_ID
) or the new one (with $PULL_REFS
)? Why not just:
if [[ -n "${PULL_REFS:-}" ]]; then
# run k8s-style stuff
elif [[ -n "${ORIGIN_PULL_ID:-}" ]]; then
# run origin-style stuff
else
# uh oh
fi
from aos-cd-jobs.
If that won't break when PULL_REFS is unset, then it's fine.
from aos-cd-jobs.
Yep, that is correct way to check for variables being set and will play nice with set -o errexit
and set -o nounset
.
from aos-cd-jobs.
Related Issues (20)
- openshift-ansible release fails if tag already exists HOT 9
- ose builds prior to 3.6 will fail openshift-ansible RPM build HOT 5
- build_ami job still requires openshift-ansible git information HOT 1
- CI failure due to tito exception - test_pull_request_origin_extended_conformance_gce_39 HOT 25
- Gather artifacts from acs-engine tests
- branch extended test jobs are using old test code HOT 3
- CI job for openshift-ansible isn't updating the spec file Version HOT 2
- test_pull_request_origin_cmd is getting stuck and hanging forever(ish?) HOT 1
- Cluster deployment fails on SDN
- 'Ensure libselinux-python is installed' base image failure HOT 6
- missing builds for CRI-O jobs HOT 20
- failure with devexp bump jenkins version HOT 2
- No longer seeing emails for auth extended test failures HOT 1
- Metrics Release 3.10.0 is not on Docker Hub HOT 6
- INSTALL ORIGIN stage consistently failing for test_pull_request_jenkins_client_plugin HOT 3
- Convert refresh-images email destinations to mailing lists
- Missing License file. HOT 1
- refresh-images job will be failed if building AMI is checked. HOT 3
- build/advisory should bugzilla login before elliott create-placeholder HOT 3
- For 3.x release signed-compose job could call refresh-images once it succeed.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aos-cd-jobs.