Comments (5)
This code in flow.py::_TopLevelControllerMixin.wait_for_jobs()
is never executed...
if self.result == BuildResult.UNSTABLE:
set_build_result(self.username, self.password, 'unstable', direct_url=self.top_flow.direct_url)
Also, set_build_result()
relies on Jenkins CLI jar to be in $WORKSPACE
, but I can't see what triggers download_cli()
anywhere in the code...
from jenkinsflow.
The version from master
fails build properly, but I can't use it because it has numerous places, where it refers to self.result.name
and self.result
is int
...
flow.py: lines 679, 365, 447, 316
from jenkinsflow.
Hi Aleksey,
The line numbers you show do not seem to point to any lines with self.result.name
!
What do you mean by you can't use it beause...? Are you seing an actual error or are you assuming there is an error? I'm pretty sure result is not int
, it is an Enum
value. Maybe it is pylint telling you that it is int
? pylint's understanding of Enum
is not very good.
Regarding if self.result == BuildResult.UNSTABLE:
not being executed: BuildResult.UNSTABLE
normally only happens when using test plugins (junit) where test cases fail. A failed job will have BuildResul.FAILURE
. You can ask jenkinsflow to propagate BuildResul.UNSTABLE
from a failed job to the job running the flow, or you can use jenkinflow set_build_result ...
from inside a job shell step to change the result to BuildResult.UNSTABLE
.
Is the testsuite running correctly against your version of Jenkins?
from jenkinsflow.
Hi Aleksey,
Any more info about your issue?
from jenkinsflow.
No more info, closing.
from jenkinsflow.
Related Issues (19)
- More information about installation is needed HOT 2
- Demo scripts require proxytools to be installed HOT 2
- Make it easier to see job status on failure HOT 4
- Dump flow HOT 4
- Put jenkinsflow to pypi HOT 12
- Put sphinx generated documentation to ReadTheDocs HOT 2
- Minor issue with Jenkins.__init__ in specialized_api HOT 1
- How to schedule pipeline even if some jobs are running? HOT 2
- Is it possible to add timing information to final report? HOT 3
- Flow callback function HOT 1
- Method to get flow results
- Jenkinsflow doesn't work if Jenkins is not served from "/" HOT 1
- subprocess dependency HOT 1
- Pipeline jobs executed in parallel end up running the same build HOT 7
- Timeout HOT 3
- Passing "token" parameters in "invoke" HOT 8
- Adding _DelayedSingleJob HOT 3
- Shebang in .py files HOT 4
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 jenkinsflow.