I am creating a Jenkins job with clone my project from GitHub.
The Jenkins work-space location is configured as follows.
${JENKINS_HOME}/workspace/${ITEM_FULLNAME}/
In Github, I created a sample project called "java".
Step1. I created a Jenkins job with name "test" and configured my github url.
While building, Jenkins clone the project called "java" in
~/.jenkins/workspace/test/java
Now jenkins give the following error while build.
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\pxp167.jenkins\workspace\test). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
Could anyone please help me to understand where I need to change my configuration
Related
Trying to deploy an MULE API and as CI/CD I am using Azure Build Pipeline, but we are getting following error :
Failed to execute goal on project mule-fts-sap-eapi: Could not resolve dependencies for project 1674d8b0-3a4f-4bfb-8c70-89641e023735:mule-fts-sap-eapi:mule-application:1.0.0: The following artifacts could not be resolved: com.sap.conn.jco:com.sap.conn.jco.sapjco3:jar:3.0.19, com.sap.conn.idoc:com.sap.conn.idoc.sapidoc3:jar:3.0.13, com.sap.conn.jco:libsapjco3:dll:3.0.19: Could not find artifact com.sap.conn.jco:com.sap.conn.jco.sapjco3:jar:3.0.19 in Central (https://repo1.maven.org/maven2) ->
We found this dependency not in Maven repo, so what could be the possible way to download this dependency from azure pipeline?
We tried to put the .zip file of dependency in Azure library and but not sure how to pull it, is it possible to store the .zip file of dependency to store somewhere in azure pipeline and unzip and use it when required.
Have you tried to add the Maven Authenticate task before you resolve the artifacts?
- task: MavenAuthenticate#0
inputs:
artifactsFeeds: '**'
I'm new to VSTS. We are about to start using VSTS as our repository for code and build process. Can I have a repository in VSTS where I can load all jars (like maven) and then use the same to build my java application? Basically, I'm trying to get Maven feature with VSTS
You can put jar files in the VSTS repository but needs to clone them to the build agent.
To clone extra repository, you can add Command Line step/task to call git clone command.
On the other hand, there is Maven step/task already. Build your Java app with Maven
I am having trouble running a build on travis. On our local jenkins machine everything is fine. The travis build fails with the following state
Unable to find version '4.8.0.770-beta' of package 'Lucene.Net'.
The solution folder contains a nuget.config file that specifies multiple nuget feeds. My guess is that something is going wrong there. I could use some help.
The project is on GitHub at https://github.com/RHEAGROUP/docupanel
I have a freestyle project (mostly JavaScript and HTML/CSS files) in Jenkins that uses Windows PowerShell to build it specifically using npm commands. It creates a build folder and builds the project as expected with all files. Now in my Workspace on Jenkins that is pulling from a Bitbucket repo I have a number folders and files. In my other projects where I use my Jenkins Plugin for AWS CodeDeploy post build action all my files in my Workspace were deployed. For some reason when this project is deployed to my EC2 instance only my first four folders in the Workspace are being deployed and my two important folders that I need other than my build folder, src and service, are not. I have tried messing with the "Include Files" parameter in the plugin setup but nothing has been successful. Below is a screenshot of the plugin setup:
Please any help is appreciated as this has been an issue for days now, thank you.
I am trying to deploy a war file into WAS8.5 with GitHub. at first I am specifying "EAR Path" with the war file in "Websphere Deployment" option. Then I made some changes in eclipse workspace and pushed into GitHub. Jenkins is checking for latest build but unable to deploy the same in Server. I have used copy artifact plugin, but still nothing happening. I may be wrong in configurations or something. I am getting the following exception:
Copied 0 artifacts from "simplewebapp" build number 20
ERROR: Failed to copy artifacts from simplewebapp with filter: *.war
Archiving artifacts
Finished: FAILURE
and in \jobs\simplewebapp\builds\lastSuccessfulBuild\archive\SimpleWebApp, am unable to see any archive file. How can i achieve it without Maven?
Kindly show me with some examples.
jenkinone
jenkintwo
As a final answer, I recommend to host your project code in GitHub, to use Jenkins/Maven to build your project and to publish the EAR/WAR file to WebSphere using this deployer plugin.