Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Incomplete
-
Component/s: _unsorted, build-environment-plugin
-
Labels:None
-
Environment:Jenkin version: 1.596.2
Operating System : Linux
-
Similar Issues:
Description
We have a simple java code which reads values from say test.properties file inside the project. We specify path of this property file relative to project directory.
The code runs fine on both windows and linux platforms.
But when we build this project on Jenkins, it fails to locate the file saying FileNotFoundException.
We have tried various ways of changing file path to project root, both files in same directory etc. but couldnt figure out where does Jenkins look for the file.
We are attaching both the files - property file and code(2 ways to refer property file) which refers this property file.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Priority | Blocker [ 1 ] | Major [ 3 ] |
Resolution | Incomplete [ 4 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Workflow | JNJira [ 165441 ] | JNJira + In-Review [ 197718 ] |
I don't understand how it is related to Jenkins. How do you launch the code? From a plugin? If yes, provide a link to the GitHub repo