Getting error : [Pipeline] End of Pipeline ERROR: No tool named MSBuild found Finished: FAILURE

2017-10-12 Thread isha chishty
Hi,

I am trying to build a pipeline project where it builds using MSBuild.
I have declared MSBuild in tool configuration for 2 Versions.

I have tried different formats to define the path which is:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild
C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild

AND

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe

But it gives error for both the formats.

I have even tried defining in the Jenkinsfile:

def msbuild = tool name: 'MSBuild', type: 
'hudson.plugins.msbuild.MsBuildInstallation'

but this one gives me following error:

[Pipeline] End of PipelineERROR: No hudson.plugins.msbuild.MsBuildInstallation 
named MSBuild found
Finished: FAILURE


I cant find much info as of where am I going wrong.

Can somebody help me?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6b5afd4a-714d-49f4-b9a3-65fcbafbeba7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting error 'FATAL: Failed to recompute children' when trying to build indexes on a multi branch pipeline.

2017-10-12 Thread isha chishty
Thanks Mark. It helped.

On Tuesday, 26 September 2017 17:40:34 UTC+5:30, isha chishty wrote:
>
> HI, 
>
> I am new to Jenkins and getting error when trying to build a pipeline 
> using GIT.
>
> first it says no jenkinsfile but surprisingly there is a jenkins file in 
> root folder. 
> On trying to build indexes manually it gives me following error.
>
>
> 
>
> *ERROR*: [Tue Sep 26 15:41:59 IST 2017] Could not update folder level actions 
> from source 04a321cc-def7-4f4e-8e2b-05cceb173ddb
> hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress 
> origin +refs/heads/*:refs/remotes/origin/*" returned status code -1:
> stdout: 
> stderr: 
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1924)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1643)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:352)
>   at 
> jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:344)
>   at 
> jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:581)
>   at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:746)
>   at 
> jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:591)
>   at 
> com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
>   at 
> com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
>   at 
> jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:978)
>   at hudson.model.ResourceController.execute(ResourceController.java:97)
>   at hudson.model.Executor.run(Executor.java:419)
> [Tue Sep 26 15:41:59 IST 2017] Finished branch indexing. Indexing took 10 
> min*FATAL*: Failed to recompute children 
>
>
> 
>
>
> Can somebody help on this.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/72f8238f-26c2-44ea-bbb5-209adbc4fcd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting error 'FATAL: Failed to recompute children' when trying to build indexes on a multi branch pipeline.

2017-09-26 Thread isha chishty
HI, 

I am new to Jenkins and getting error when trying to build a pipeline using 
GIT.

first it says no jenkinsfile but surprisingly there is a jenkins file in 
root folder. 
On trying to build indexes manually it gives me following error.



*ERROR*: [Tue Sep 26 15:41:59 IST 2017] Could not update folder level actions 
from source 04a321cc-def7-4f4e-8e2b-05cceb173ddb
hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress 
origin +refs/heads/*:refs/remotes/origin/*" returned status code -1:
stdout: 
stderr: 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1924)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1643)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:352)
at 
jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:344)
at 
jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:581)
at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:746)
at 
jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:591)
at 
com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
at 
com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
at 
jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:978)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:419)
[Tue Sep 26 15:41:59 IST 2017] Finished branch indexing. Indexing took 10 
min*FATAL*: Failed to recompute children 




Can somebody help on this.



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4015788c-44e4-4dcd-a191-c1e1ea79ffec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.