Git Product home page Git Product logo

Comments (3)

WaelHamze avatar WaelHamze commented on June 11, 2024

@carolina007 I think there was a defect in the existing task so in many cases when import failed, the log file was not uploaded to VSTS. This will be fixed in next release. Now I can't make this task email the log as emailing should be a separate process that requires configuration etc.

What I have done is returned an output variable with the log file path. You can now use one of the other extensions that offer email task to send this file if needed.

if (Test-Path "$logFile")
{
	Write-Verbose "Uploading import log $logFile"

	Write-Host "##vso[task.setvariable variable=SOLUTION_IMPORT_LOG_FILE]$logFile"

	Write-Host "##vso[task.uploadfile]$logFile"

	Write-Verbose "Import log uploaded"
}

"OutputVariables": [
{
"name": "SOLUTION_IMPORT_LOG_FILE",
"description": "The absolute path to solution import log file on the agent server"
}
],

https://github.com/Microsoft/azure-pipelines-agent/blob/master/docs/preview/outputvariable.md

from dyn365-ce-vsts-tasks.

carolina007 avatar carolina007 commented on June 11, 2024

Thank you For Fixing this. Let me know next release date for this.

from dyn365-ce-vsts-tasks.

WaelHamze avatar WaelHamze commented on June 11, 2024

Released to Marketplace

from dyn365-ce-vsts-tasks.

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.