Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User task input variable not defined #91660

Closed
Steve30 opened this issue Feb 27, 2020 · 4 comments
Closed

User task input variable not defined #91660

Steve30 opened this issue Feb 27, 2020 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues verified Verification succeeded
Milestone

Comments

@Steve30
Copy link

Steve30 commented Feb 27, 2020

  1. I defined inputs in user task config
  2. I want to use a specific input with id
  3. When I run the task, show the error message, which describe the input variable not defined, but in the inputs config in defined
@vscodebot
Copy link

vscodebot bot commented Feb 27, 2020

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@alexr00
Copy link
Member

alexr00 commented Feb 27, 2020

Please share your tasks.json

@alexr00 alexr00 added info-needed Issue requires more information from poster bug Issue identified by VS Code Team member as probable bug tasks Task system issues and removed info-needed Issue requires more information from poster labels Feb 27, 2020
@alexr00
Copy link
Member

alexr00 commented Feb 27, 2020

Actually, I can repro the issue.

@alexr00 alexr00 added this to the March 2020 milestone Feb 27, 2020
@Steve30
Copy link
Author

Steve30 commented Mar 2, 2020

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Run Jira Server in Standalone",
            "detail": "Global task for start Jira Standalone Server",
            "type": "shell",
            "problemMatcher": [],
            "options": {
                "cwd": "/home/juhaszi/JiraServers"
            },
            "command": "atlas-run-standalone",
            "args": [
                "--product",
                "jira",
                "--version",
                "${input:jira-version}",
                "--context-path",
                "ROOT",
                "-Dmaven.javadoc.skip=true"
            ]
        },
        {
            "label": "Atlas clean install",
            "detail": "Atlas clean with production",
            "type": "shell",
            "problemMatcher": [],
            "command": "atlas-mvn",
            "args": [
                "clean",
                "install",
                "-Dmaven.javadoc.skip=true"
            ]
        }
    ],
    "inputs": [{
        "description": "Jira version",
        "default": "8.3.2",
        "id": "jira-version",
        "type": "promptString"
    }]
}

@alexr00 alexr00 closed this as completed in 4a8dc15 Mar 6, 2020
@dbaeumer dbaeumer added the verified Verification succeeded label Apr 2, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants