Code Monkey home page Code Monkey logo

Comments (5)

NikolayPianikov avatar NikolayPianikov commented on June 1, 2024

I am not sure it will correctly work on TC 9.1.x
runAs.zip

from teamcity-runas-plugin.

NikolayPianikov avatar NikolayPianikov commented on June 1, 2024

I've created #4

from teamcity-runas-plugin.

am071092 avatar am071092 commented on June 1, 2024

Ok thanks will try it out.

from teamcity-runas-plugin.

pmbanka avatar pmbanka commented on June 1, 2024

Hi, I had the same issue. After inspection, I noticed that the .zip file generated by running build.cmd included only agent folder, while the zip file @NikolayPianikov linked above contains also server folder and teamcity-plugin.xml. So the issue might be with the build itself.

Here is the build log:

λ build

set Version=1.0.6

call tools\nuget.exe install JetBrains.runAs -Version 1.0.6 -o win32
'JetBrains.runAs 1.0.6' already installed.

copy win32\JetBrains.runAs.1.0.6\tools\x64\JetBrains.runAs.exe win32\x64 /Y
        1 file(s) copied.

copy win32\JetBrains.runAs.1.0.6\tools\x86\JetBrains.runAs.exe win32\x86 /Y
        1 file(s) copied.

call mvn package
'mvn' is not recognized as an internal or external command,
operable program or batch file.

call createPlugin.cmd

SET root=D:\zsyp\teamcity-runas-plugin-master\

SET zip=D:\zsyp\teamcity-runas-plugin-master\tools\7z.exe

del D:\zsyp\teamcity-runas-plugin-master\runAs.zip /F /Q

rd D:\zsyp\teamcity-runas-plugin-master\plugin /s /q
The system cannot find the file specified.

D:\zsyp\teamcity-runas-plugin-master\tools\7z.exe x D:\zsyp\teamcity-runas-plugin-master\target\runAs.zip -oD:\zsyp\teamcity-runas-plugin-master\plugin

7-Zip [32] 15.12 : Copyright (c) 1999-2015 Igor Pavlov : 2015-11-19

Scanning the drive for archives:

ERROR: The system cannot find the path specified.
D:\zsyp\teamcity-runas-plugin-master\target\runAs.zip



System ERROR:
The system cannot find the path specified.

md D:\zsyp\teamcity-runas-plugin-master\plugin\agent\new\bin

copy D:\zsyp\teamcity-runas-plugin-master\cmd\*.cmd D:\zsyp\teamcity-runas-plugin-master\plugin\agent\new\bin /Y
D:\zsyp\teamcity-runas-plugin-master\cmd\runAs.cmd
        1 file(s) copied.

md D:\zsyp\teamcity-runas-plugin-master\plugin\agent\new\bin\x86

copy D:\zsyp\teamcity-runas-plugin-master\win32\x64\JetBrains.runAs.exe D:\zsyp\teamcity-runas-plugin-master\plugin\agent\new\bin\x86 /Y
        1 file(s) copied.

md D:\zsyp\teamcity-runas-plugin-master\plugin\agent\new\bin\x64

copy D:\zsyp\teamcity-runas-plugin-master\win32\x64\JetBrains.runAs.exe D:\zsyp\teamcity-runas-plugin-master\plugin\agent\new\bin\x64 /Y
        1 file(s) copied.

pushd plugin\agent\new

D:\zsyp\teamcity-runas-plugin-master\tools\7z.exe a -tzip D:\zsyp\teamcity-runas-plugin-master\plugin\agent\runAs-agent.zip *

7-Zip [32] 15.12 : Copyright (c) 1999-2015 Igor Pavlov : 2015-11-19

Scanning the drive:
3 folders, 3 files, 973017 bytes (951 KiB)

Creating archive: D:\zsyp\teamcity-runas-plugin-master\plugin\agent\runAs-agent.zip

Items to compress: 6


Files read from disk: 3
Archive size: 448281 bytes (438 KiB)
Everything is Ok

popd

rd D:\zsyp\teamcity-runas-plugin-master\plugin\agent\new /s /q

pushd plugin

D:\zsyp\teamcity-runas-plugin-master\tools\7z.exe a -tzip D:\zsyp\teamcity-runas-plugin-master\runAs.zip *

7-Zip [32] 15.12 : Copyright (c) 1999-2015 Igor Pavlov : 2015-11-19

Scanning the drive:
1 folder, 1 file, 448281 bytes (438 KiB)

Creating archive: D:\zsyp\teamcity-runas-plugin-master\runAs.zip

Items to compress: 2


Files read from disk: 1
Archive size: 447650 bytes (438 KiB)
Everything is Ok

popd

rd plugin /s /q

from teamcity-runas-plugin.

NikolayPianikov avatar NikolayPianikov commented on June 1, 2024

@pmbanka you should install https://maven.apache.org/ before, see https://github.com/JetBrains/teamcity-runas-plugin/wiki/How-to-build-plugin

from teamcity-runas-plugin.

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.