Git Product home page Git Product logo

Comments (9)

ctproject4 avatar ctproject4 commented on September 24, 2024 1

@jaskirat8 I solved the issue by disconnecting the slave from JNLP connection and reconnecting it from SSH by going in configure menu of slave. Now it is able to access the jar files and build the project properly. Thank you!

from openidp.

jaskirat8 avatar jaskirat8 commented on September 24, 2024

@ctproject4 Please provide console logs from pipeline and build stage.

from openidp.

ctproject4 avatar ctproject4 commented on September 24, 2024

@jaskirat8 Thanks for your early reply.

I'm attaching both pipeline and build jobs logs. As I said earlier the build job is not running at all. I tried to ran Build job manually and it gave me errors stating the jar files are not accessible, but the jar files are in the exact path. Pipeline Job runs and gives error when I trigger the pipeline from IDP portal.

Also the data regarding the builds are not getting updated in Grafana dashboard.I'm also attaching logs of SCM job. Just to give you detailed view

Kindly help me. Thanks!!

Pipeline_Build_logs.txt
Build_Job_logs.txt
SCM_Job_logs.txt

from openidp.

jaskirat8 avatar jaskirat8 commented on September 24, 2024

@ctproject4 As per logs, custom tools are not accessible to pipeline.
Please ensure your idp agent is having permissions to access folder.(Its one level up from workspace folder, named as "tools")
Also if you can verify if "tools" folder in your "D:/CIWS" has 3 folders and those are not empty.

from openidp.

ctproject4 avatar ctproject4 commented on September 24, 2024

@jaskirat8
How to ensure idp agent is having permissions to access the folders?

The tools folder in this D:/CIWS/tools/ path contains com.cloudbees.jenkins.plugins.customtools.CustomTool folder which in turn contains the following folders:
DevopsJsonConv MetricsProcessor ReportFetchUtil
And these folder have .jar file.

from openidp.

jaskirat8 avatar jaskirat8 commented on September 24, 2024

@ctproject4 since you have all files in place. Looks like folder permissions is the issue. Running the idp agent with admin access can help solve these issues or correct way will be to ensure the user running the agent has ownership of workspace folder and inheritance is enabled for child objects also in security settings.

from openidp.

ctproject4 avatar ctproject4 commented on September 24, 2024

@jaskirat8 I'm running jenkins with idpadmin user. Also all the folders and files inside CIWS have 777 access so everyone can do anything, But still the errors remains the same.

from openidp.

jaskirat8 avatar jaskirat8 commented on September 24, 2024

@ctproject4 are you using linux or windows ?
As per your logs it seems its a windows machine for idp agent.
If its linux then please have parent permissions also in line with the user starting agent.

from openidp.

ctproject4 avatar ctproject4 commented on September 24, 2024

@jaskirat8 Both the machines i.e master and slaves are linux machines.

from openidp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.