Hi Leute ich versuche gerade auf meinem Windows Notebook Jenkins zum Laufen zu bringen.
Habe zum Testen über Bitbucket ein Git-Repository eingerichtet sowie in Netbeans ein Maven-Projekt ( Hello World ) aufgesetzt.
Habe auf Git gepusht und in Jenkins das Buildprojekt angelegt.
Maven ist installiert und Pfad zum Maven verzeichnis ist eingetragen.
Pfad zum JDK ist ebenfalls eingetragen.
Im Projekt "HelloWorldMaven" kann ich zwar die pom.xml finden und in Git ebenfalls. Jenkins kann die jedoch nicht finden und in der Konfiguration für das Projekt sagt Jenkins folgendes "Datei 'pom.xml' existiert nicht." . Ebenfalls mit der verschiedenen Pfadangaben wie z.B. HelloWorldMaven/pom.xml
wo liegt mein Fehler?
Habe zum Testen über Bitbucket ein Git-Repository eingerichtet sowie in Netbeans ein Maven-Projekt ( Hello World ) aufgesetzt.
Habe auf Git gepusht und in Jenkins das Buildprojekt angelegt.
Maven ist installiert und Pfad zum Maven verzeichnis ist eingetragen.
Pfad zum JDK ist ebenfalls eingetragen.
Im Projekt "HelloWorldMaven" kann ich zwar die pom.xml finden und in Git ebenfalls. Jenkins kann die jedoch nicht finden und in der Konfiguration für das Projekt sagt Jenkins folgendes "Datei 'pom.xml' existiert nicht." . Ebenfalls mit der verschiedenen Pfadangaben wie z.B. HelloWorldMaven/pom.xml
wo liegt mein Fehler?
Code:
Started on 26.11.2015 12:11:00
Using strategy: Default
using .gitcredentials to set credentials
> C:\Program Files (x86)\Git\bin\git.exe --version # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe init C:\Users\Dave\AppData\Local\Temp\hudson7451907422556297894tmp # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe config --local credential.username dave# timeout=10
> C:\Program Files (x86)\Git\bin\git.exe config --local credential.helper store --file=\"C:\Users\Dave\AppData\Local\Temp\git1677670816796458455.credentials\" # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe -c core.askpass=true ls-remote -h https://[email protected]/dave/helloworldmaven.git # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe config --local --remove-section credential # timeout=10
Found 1 remote heads on https://[email protected]/dave/helloworldmaven.git
[poll] Latest remote head revision on refs/heads/master is: 999c632d5303b4d5a94b82d75bddf45345b
Done. Took 1,6 Sekunden
Changes found
Code:
Build wurde durch eine SCM-Änderung ausgelöst.
Baue in Arbeitsbereich C:\Program Files (x86)\Jenkins\jobs\HelloWorldMaven\workspace
java.nio.file.AccessDeniedException: C:\Program Files\Java\jdk1.8.0_31\jre\bin\awt.dll
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
at java.nio.file.Files.delete(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at hudson.Util.deleteFile(Util.java:247)
at hudson.FilePath.deleteRecursive(FilePath.java:1204)
at hudson.FilePath.deleteContentsRecursive(FilePath.java:1213)
at hudson.FilePath.deleteRecursive(FilePath.java:1195)
at hudson.FilePath.deleteContentsRecursive(FilePath.java:1213)
at hudson.FilePath.deleteRecursive(FilePath.java:1195)
at hudson.FilePath.deleteContentsRecursive(FilePath.java:1213)
at hudson.FilePath.deleteRecursive(FilePath.java:1195)
at hudson.FilePath.access$1000(FilePath.java:191)
at hudson.FilePath$14.invoke(FilePath.java:1174)
at hudson.FilePath$14.invoke(FilePath.java:1171)
at hudson.FilePath.act(FilePath.java:991)
at hudson.FilePath.act(FilePath.java:969)
at hudson.FilePath.deleteRecursive(FilePath.java:1171)
at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:130)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
at hudson.model.JDK.forNode(JDK.java:132)
at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:358)
at hudson.model.Run.getEnvironment(Run.java:2234)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:941)
at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56)
at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:166)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1036)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1275)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
at hudson.model.Run.execute(Run.java:1741)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:408)
Finished: FAILURE
Zuletzt bearbeitet: