Error when trying to import Step Templates in a child project (OD-487)
Stephen S opened 4 years ago
  1. I have created a project called vsr-bas
  2. Within the project I have created a Step Template called build. It has one parameter and works fine.
  3. I have a child project atteched to vsr-bas: vsr-map
  4. I now want to Import the Step Template from the parent project vsr-bas into its child vsr-map

So:

  1. in vsr-map I modify the .onedev-buildspec.yml file > Imports tab
  2. I click the Plus/+ button > the import interface is displayed
  3. I select vsr-bas in the local menu
  4. but as soon as I click into the Tag field, I get an error message:

image.png

Which is actually true (no properties were defined in vsr-bas) but I thought imports also encompassed Step Templates as explained in the help bubble:

Import build spec elements (jobs, services, step templates and properties) from other projects.

What am I doing wrong?

Also, could you direct me to a comprehensive documentation on Templates as I can't find it on the site.

Best, Stephen

  • Stephen S changed fields 4 years ago
    Name Previous Value Current Value
    Type
    Support Request
    Bug
    Seen Builds
    empty
    2864
  • Stephen S changed fields 4 years ago
    Name Previous Value Current Value
    Priority
    Major
    Normal
  • OneDev changed state to 'Closed' 4 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 4 years ago

    State changed as code fixing the issue is committed

  • OneDev changed state to 'Released' 4 years ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 4 years ago

    State changed as build #2142 is successful

  • Robin Shen commented 4 years ago

    Please check below tutorial on how to use step template:

    https://medium.com/nerd-for-tech/ci-cd-configuration-reuse-in-onedev-c8110b709614

issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
Not Found
Issue Votes (0)
Watchers (3)
Reference
OD-487
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover